diff options
| author | Leandro Gabriel <[email protected]> | 2019-08-03 06:07:41 -0300 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-08-03 11:07:41 +0200 |
| commit | 89c16baf182aed201b75b99a253c0b074ffffeed (patch) | |
| tree | 90edca66ea7b4c9c83aab26daa2496b770206ab5 /examples/core/core_basic_window.cpp | |
| parent | 68ffbc06c74b717946d1bcb3a7e433d5fb859c85 (diff) | |
| download | raylib-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.cpp | 52 |
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 |
