void Prototype01::selfSetupGuis(){ backgroundSet(new UIMapBackground()); guiAdd(colorEdgesShader); guiAdd(colorExtractionShader); guiAdd(complementColorShader); }
void SingleBrush::selfSetupGuis(){ backgroundSet(new UIMapBackground()); guiAdd(colorAddShader); guiAdd(absorveShader); guiAdd(noiseShader); guiAdd(displaceShader); guiAdd(edge); }
void ofx2DPro::setupCoreGuis(){ setupGui(); logGui.linkDataPath(getDataPath()); logGui.linkRenderTarget(&getRenderTarget()); guiAdd(logGui); setupSystemGui(); setupRenderGui(); backgroundSet(new UIBackground()); }
void ofx2DPro::backgroundSet(UIBackground *_bg){ if(background.get() != NULL){ for(int i = 0; i< guis.size(); i++){ if (guis[i]->getName() == "BACKGROUND"){ guis.erase(guis.begin()+i); break; } } } background = UIBackgroundReference(_bg); background->linkUIs( &guis ); guiAdd( *background ); }
void SensorViewer::selfSetupGuis(){ backgroundSet(new UIMapBackground()); guiAdd(grid); guiAdd(map); }