예제 #1
0
void Prototype01::selfSetupGuis(){
    backgroundSet(new UIMapBackground());
    
    guiAdd(colorEdgesShader);
    guiAdd(colorExtractionShader);
    guiAdd(complementColorShader);
}
예제 #2
0
void SingleBrush::selfSetupGuis(){
    backgroundSet(new UIMapBackground());
    guiAdd(colorAddShader);
    guiAdd(absorveShader);
    guiAdd(noiseShader);
    guiAdd(displaceShader);
    guiAdd(edge);
}
예제 #3
0
void ofx2DPro::setupCoreGuis(){
    setupGui();
    
    logGui.linkDataPath(getDataPath());
    logGui.linkRenderTarget(&getRenderTarget());
    
    guiAdd(logGui);
    
    setupSystemGui();
    setupRenderGui();
    
    backgroundSet(new UIBackground());
}
예제 #4
0
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);
}