Color now is RGB.

ColorA now is Color.

--HG--
branch : dev
This commit is contained in:
Martí­n Lucas Golini
2017-04-11 02:03:52 -03:00
parent 7c69ea0f45
commit 6d14696337
112 changed files with 747 additions and 706 deletions

View File

@@ -11,7 +11,7 @@ void mainLoop()
Primitives p;
// Change the color
p.setColor( ColorA( 0, 255, 0, 150 ) );
p.setColor( Color( 0, 255, 0, 150 ) );
// Update the input
win->getInput()->update();
@@ -38,7 +38,7 @@ EE_MAIN_FUNC int main (int argc, char * argv [])
// Check if created
if ( win->isOpen() ) {
// Set window background color
win->setClearColor( Color( 50, 50, 50 ) );
win->setClearColor( RGB( 50, 50, 50 ) );
// Set the MainLoop function and run it
// This is the application loop, it will loop until the window is closed.