void ciUIExampleiOSApp::draw() { gl::setMatricesWindow( getWindowSize() ); gl::clear( Color( bgColorR, bgColorG, bgColorB ) ); gui->draw(); gui1->draw(); }
void PS3EYECaptureApp::draw() { gl::clear( Color::black() ); gl::disableDepthRead(); gl::disableDepthWrite(); gl::enableAlphaBlending(); gl::setMatricesWindow( getWindowWidth(), getWindowHeight() ); if( mTexture ) { glPushMatrix(); gl::draw( mTexture ); glPopMatrix(); } gui->draw(); }
void ciUISimpleExampleApp::draw() { gl::clear( backgroundColor ); gl::color(ColorA(red, green, blue, alpha)); if(drawFill) { gl::drawSolidCircle(position, radius, resolution); } else { gl::drawStrokedCircle(position, radius, resolution); } gui->draw(); }
void ciUIDynamicDropDownApp::draw() { gl::clear( Color( bgValue, bgValue, bgValue ) ); gui->draw(); }
void ciUIButtonsApp::draw() { gl::clear( Color( bgValue, bgValue, bgValue ) ); gui->draw(); }