Exemplo n.º 1
0
//scene notifications
void menu::sceneWillAppear( ofxScene * fromScreen ){  // reset our scene when we appear
    //gui1->enable();
	/* ofAddListener(tuioClient.cursorAdded,this,&menu::tuioAdded);
	 ofAddListener(tuioClient.cursorRemoved,this,&menu::tuioRemoved);
	 ofAddListener(tuioClient.cursorUpdated,this,&menu::tuioUpdated);
	 */
	ofLogNotice("menu - sceneWillAppear - ");
	
    cheapComm::getInstance()->sendAudio0("/audio/menu/start_event");
    cheapComm::getInstance()->sendSync0("/sync/menu/start_event");
    
    init_Escena();
};
Exemplo n.º 2
0
//scene notifications
void faces::sceneWillAppear( ofxScene * fromScreen ){  // reset our scene when we appear
    init_Escena();
};