Esempio n. 1
0
void ciUIExampleiOSApp::draw()
{
    gl::setMatricesWindow( getWindowSize() );
    gl::clear( Color( bgColorR, bgColorG, bgColorB ) );

    gui->draw();
    gui1->draw();
}
Esempio n. 2
0
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();
}
Esempio n. 3
0
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();
}
Esempio n. 4
0
void ciUIDynamicDropDownApp::draw()
{
	gl::clear( Color( bgValue, bgValue, bgValue ) ); 
    gui->draw();
}
Esempio n. 5
0
void ciUIButtonsApp::draw()
{
	gl::clear( Color( bgValue, bgValue, bgValue ) ); 
    gui->draw();
}