aboutsummaryrefslogtreecommitdiff
path: root/examples/shapes_logo_raylib.c
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2014-09-29 23:41:05 +0200
committerraysan5 <raysan5@gmail.com>2014-09-29 23:41:05 +0200
commit51688c004cb9b41cd573b7f84ce8574ca2a4b9d7 (patch)
tree1d8bf01ec8deb3acabb747182f2a1384cec2ec49 /examples/shapes_logo_raylib.c
parente2ff32eb847f0332d546f51c442f336e0dc7b309 (diff)
downloadraylib-51688c004cb9b41cd573b7f84ce8574ca2a4b9d7.tar.gz
raylib-51688c004cb9b41cd573b7f84ce8574ca2a4b9d7.zip
Code cleaning, removed useless spaces
Diffstat (limited to 'examples/shapes_logo_raylib.c')
-rw-r--r--examples/shapes_logo_raylib.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/shapes_logo_raylib.c b/examples/shapes_logo_raylib.c
index 669de4bd..a9e5104a 100644
--- a/examples/shapes_logo_raylib.c
+++ b/examples/shapes_logo_raylib.c
@@ -17,10 +17,10 @@ int main()
//--------------------------------------------------------------------------------------
int screenWidth = 800;
int screenHeight = 450;
-
+
InitWindow(screenWidth, screenHeight, "raylib [shapes] example - raylib logo using shapes");
//--------------------------------------------------------------------------------------
-
+
// Main game loop
while (!WindowShouldClose()) // Detect window close button or ESC key
{
@@ -28,19 +28,19 @@ int main()
//----------------------------------------------------------------------------------
// TODO: Update your variables here
//----------------------------------------------------------------------------------
-
+
// Draw
//----------------------------------------------------------------------------------
BeginDrawing();
-
+
ClearBackground(RAYWHITE);
-
+
DrawRectangle(screenWidth/2 - 128, screenHeight/2 - 128, 256, 256, BLACK);
DrawRectangle(screenWidth/2 - 112, screenHeight/2 - 112, 224, 224, RAYWHITE);
DrawText("raylib", screenWidth/2 - 44, screenHeight/2 + 48, 50, BLACK);
-
+
DrawText("this is NOT a texture!", 350, 370, 10, GRAY);
-
+
EndDrawing();
//----------------------------------------------------------------------------------
}
@@ -49,6 +49,6 @@ int main()
//--------------------------------------------------------------------------------------
CloseWindow(); // Close window and OpenGL context
//--------------------------------------------------------------------------------------
-
+
return 0;
} \ No newline at end of file