void kinactorApp::draw() { setFullScreen(); switch (currentFormat) { case kinactor: kinactorDraw(); break; case debug: debugDraw(); break; case cloud: ofPushMatrix(); ofTranslate(420, 320); // we need a proper camera class drawPointCloud(); ofPopMatrix(); default: break; } // show interface? bShowInterface == true ? showInterface() : hideInterface(); }
bool startExtensions() { int x,y; LOGD("%s - Starting extensions..."NL); for (x=0;x<next;x++){ MTExtension &cext = *ext[x]; for (y=0;y<cext.i->ninterfaces;y++){ if ((cext.i->interfaces[y]->status & MTX_INITIALIZED)==0) continue; if (cext.i->interfaces[y]==gi) continue; MTTRY cext.i->interfaces[y]->start(); MTCATCH FLOGD1("%s - ERROR: Exception while starting '%s'!"NL,cext.i->interfaces[y]->name); MTEND }; }; showInterface(); LEAVE(); return true; }
void MediaPlayer::userInputReceived(){ ds::ui::Sprite::userInputReceived(); showInterface(); }