summaryrefslogtreecommitdiffhomepage
path: root/examples/core/core_basic_window.cpp
diff options
context:
space:
mode:
authorLeandro Gabriel <[email protected]>2019-08-03 06:07:41 -0300
committerRay <[email protected]>2019-08-03 11:07:41 +0200
commit89c16baf182aed201b75b99a253c0b074ffffeed (patch)
tree90edca66ea7b4c9c83aab26daa2496b770206ab5 /examples/core/core_basic_window.cpp
parent68ffbc06c74b717946d1bcb3a7e433d5fb859c85 (diff)
downloadraylib-89c16baf182aed201b75b99a253c0b074ffffeed.tar.gz
raylib-89c16baf182aed201b75b99a253c0b074ffffeed.zip
Replace tabs with spaces and update year of copyright notices (#927)
* Update year of copyright notices * Fix mistake in comment * Fix typo ("algorythms") * Replace tabs with spaces * Remove trailing whitespace and fix mistake in comment * Fix ExportImageAsCode missing comment rectangle corner * Replace tab with spaces * Replace tabs with spaces
Diffstat (limited to 'examples/core/core_basic_window.cpp')
-rw-r--r--examples/core/core_basic_window.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/examples/core/core_basic_window.cpp b/examples/core/core_basic_window.cpp
index fa12026a..414f9185 100644
--- a/examples/core/core_basic_window.cpp
+++ b/examples/core/core_basic_window.cpp
@@ -23,40 +23,40 @@
int main(int argc, char* argv[])
{
- // Initialization
- //--------------------------------------------------------------------------------------
- int screenWidth = 800;
- int screenHeight = 450;
+ // Initialization
+ //--------------------------------------------------------------------------------------
+ int screenWidth = 800;
+ int screenHeight = 450;
- InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window");
+ InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window");
- SetTargetFPS(60);
- //--------------------------------------------------------------------------------------
+ SetTargetFPS(60);
+ //--------------------------------------------------------------------------------------
- // Main game loop
- while (!WindowShouldClose()) // Detect window close button or ESC key
- {
- // Update
- //----------------------------------------------------------------------------------
- // TODO: Update your variables here
- //----------------------------------------------------------------------------------
+ // Main game loop
+ while (!WindowShouldClose()) // Detect window close button or ESC key
+ {
+ // Update
+ //----------------------------------------------------------------------------------
+ // TODO: Update your variables here
+ //----------------------------------------------------------------------------------
- // Draw
- //----------------------------------------------------------------------------------
- BeginDrawing();
+ // Draw
+ //----------------------------------------------------------------------------------
+ BeginDrawing();
- ClearBackground(RAYWHITE);
+ ClearBackground(RAYWHITE);
- DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY);
+ DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY);
- EndDrawing();
- //----------------------------------------------------------------------------------
- }
+ EndDrawing();
+ //----------------------------------------------------------------------------------
+ }
- // De-Initialization
- //--------------------------------------------------------------------------------------
- CloseWindow(); // Close window and OpenGL context
+ // De-Initialization
+ //--------------------------------------------------------------------------------------
+ CloseWindow(); // Close window and OpenGL context
//--------------------------------------------------------------------------------------
- return 0;
+ return 0;
} \ No newline at end of file