mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-12 01:20:13 +03:00
Fixed Color::toHsv(), Color::fromHsv(), Color::toHsl().
Added to Colors::fromString(): rgb(), rgba(), hsl(), hsla(), hsv(), hsva(). --HG-- branch : dev
This commit is contained in:
@@ -6,8 +6,7 @@
|
||||
|
||||
EE::Window::Window * win = NULL;
|
||||
|
||||
void mainLoop()
|
||||
{
|
||||
void mainLoop() {
|
||||
// Clear the screen buffer
|
||||
win->clear();
|
||||
|
||||
@@ -34,8 +33,7 @@ void mainLoop()
|
||||
}
|
||||
|
||||
// EE_MAIN_FUNC is needed by some platforms to be able to find the real application main
|
||||
EE_MAIN_FUNC int main (int argc, char * argv [])
|
||||
{
|
||||
EE_MAIN_FUNC int main (int argc, char * argv []) {
|
||||
// Create a new window with vsync enabled
|
||||
win = Engine::instance()->createWindow( WindowSettings( 960, 640, "eepp - Empty Window" ), ContextSettings( true ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user