Exemple #1
0
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 );
	}
}
Exemple #2
0
Container::~Container()
{
    if (gui)
        gui->removeDragged(this);
    removeControls();
}