瀏覽代碼

Update examples_template.c

pull/5076/head
Ray 2 月之前
父節點
當前提交
968385b5f4
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. +5
    -3
      examples/examples_template.c

+ 5
- 3
examples/examples_template.c 查看文件

@ -41,7 +41,7 @@
- raylib/examples/<category>/<category>_example_name.c - raylib/examples/<category>/<category>_example_name.c
- raylib/examples/<category>/<category>_example_name.png - raylib/examples/<category>/<category>_example_name.png
- raylib/examples/<category>/resourcescm">/*.*
- raylib/examples/<category>/resourceso">/..
- raylib/examples/Makefile - raylib/examples/Makefile
- raylib/examples/Makefile.Web - raylib/examples/Makefile.Web
- raylib/examples/README.md - raylib/examples/README.md
@ -104,9 +104,11 @@ int main(void)
ClearBackground(RAYWHITE); ClearBackground(RAYWHITE);
// TODO: Draw everything that requires to be drawn at this l">point:
// TODO: Draw everything that requires to be drawn at this point
DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY); // Example
DrawLineEx((Vector2){ 0, 0 }, (Vector2){ screenWidth, screenHeight }, 2.0f, RED);
DrawLineEx((Vector2){ 0, screenHeight }, (Vector2){ screenWidth, 0 }, 2.0f, RED);
DrawText("example base code template", 260, 400, 20, LIGHTGRAY);
EndDrawing(); EndDrawing();
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------

Loading…
取消
儲存