mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 10:36:30 +03:00
Refactored Colors.
Removed PBuffer support. Abstracted WMInfo.
This commit is contained in:
@@ -11,7 +11,7 @@ void MainLoop()
|
||||
cPrimitives p;
|
||||
|
||||
// Change the color
|
||||
p.SetColor( eeColorA( 0, 255, 0, 150 ) );
|
||||
p.SetColor( ColorA( 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->Created() ) {
|
||||
// Set window background color
|
||||
win->BackColor( eeColor( 50, 50, 50 ) );
|
||||
win->BackColor( RGB( 50, 50, 50 ) );
|
||||
|
||||
// Set the MainLoop function and run it
|
||||
// This is the application loop, it will loop until the window is closed.
|
||||
|
||||
Reference in New Issue
Block a user