Пример #1
0
void ciUIExampleiOSApp::draw()
{
    gl::setMatricesWindow( getWindowSize() );
    gl::clear( Color( bgColorR, bgColorG, bgColorB ) );

    gui->draw();
    gui1->draw();
}
Пример #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();
}
Пример #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();
}
Пример #4
0
void ciUIDynamicDropDownApp::draw()
{
	gl::clear( Color( bgValue, bgValue, bgValue ) ); 
    gui->draw();
}
Пример #5
0
void ciUIButtonsApp::draw()
{
	gl::clear( Color( bgValue, bgValue, bgValue ) ); 
    gui->draw();
}