Revision: 9772 http://pure-data.svn.sourceforge.net/pure-data/?rev=9772&view=rev Author: zmoelnig Date: 2008-05-08 08:51:50 -0700 (Thu, 08 May 2008)
Log Message: ----------- fixed gem2pdp to match the new privateness of GemMan variables
Modified Paths: -------------- trunk/externals/gem2pdp/gem2pdp.cpp
Property Changed: ---------------- trunk/externals/gem2pdp/pix_2pdp-help.pd trunk/externals/gem2pdp/pix_2pdp.cpp trunk/externals/gem2pdp/pix_2pdp.h
Modified: trunk/externals/gem2pdp/gem2pdp.cpp =================================================================== --- trunk/externals/gem2pdp/gem2pdp.cpp 2008-05-07 16:16:23 UTC (rev 9771) +++ trunk/externals/gem2pdp/gem2pdp.cpp 2008-05-08 15:51:50 UTC (rev 9772) @@ -18,10 +18,8 @@
gem2pdp :: gem2pdp(void) { - m_x = GemMan::m_xoffset; - m_y = GemMan::m_yoffset; - m_width = GemMan::m_width; - m_height = GemMan::m_height; + GemMan::getOffset(&m_x, &m_y); + GemMan::getDimen(&m_width, &m_height); m_image = NULL; m_pdpoutlet = outlet_new(this->x_obj, &s_anything); } @@ -47,10 +45,8 @@ }
// update image dimensions - m_x = GemMan::m_xoffset; - m_y = GemMan::m_yoffset; - m_width = GemMan::m_width; - m_height = GemMan::m_height; + GemMan::getOffset(&m_x, &m_y); + GemMan::getDimen(&m_width, &m_height); pbuffers = GemMan::m_buffer; GemMan::m_buffer = 1; GemMan::render(idontknowwhatitis);
Property changes on: trunk/externals/gem2pdp/pix_2pdp-help.pd ___________________________________________________________________ Name: svn:executable - *
Property changes on: trunk/externals/gem2pdp/pix_2pdp.cpp ___________________________________________________________________ Name: svn:executable - *
Property changes on: trunk/externals/gem2pdp/pix_2pdp.h ___________________________________________________________________ Name: svn:executable - *
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.