void ofxGuiGrid::setXY( int x, int y ) { //! Just display mode can be set X/Y if ( mDisplayMode == kofxGui_Grid_Display ) { clearImages(); mXGrid = x; mYGrid = y; calculateWH(); setSelectedId( -1 ); // Clear the selected value createImages(); removeControls(); switchDblClickMode( false ); } }
Container::~Container() { if (gui) gui->removeDragged(this); removeControls(); }