瀏覽代碼

Example instructions tweak for clarity

pull/858/head
Ray 5 年之前
父節點
當前提交
434e460c18
共有 3 個檔案被更改,包括 3 行新增3 行删除
  1. +1
    -1
      examples/core/core_window_letterbox.c
  2. +1
    -1
      examples/text/text_bmfont_ttf.c
  3. +1
    -1
      examples/text/text_font_sdf.c

+ 1
- 1
examples/core/core_window_letterbox.c 查看文件

@ -66,7 +66,7 @@ int main(void)
for (int i = 0; i < 10; i++) DrawRectangle(0, (gameScreenHeight/10)*i, gameScreenWidth, gameScreenHeight/10, colors[i]);
DrawText("You can resize the window,\nand see the screen scaling!", 10, 25, 20, WHITE);
DrawText("If executed inside a window,\nyou can resize the window,\nand see the screen scaling!", 10, 25, 20, WHITE);
EndTextureMode();

+ 1
- 1
examples/text/text_bmfont_ttf.c 查看文件

@ -53,7 +53,7 @@ int main(void)
ClearBackground(RAYWHITE);
DrawText("Press SPACE to use TTF generated font", 20, 20, 20, LIGHTGRAY);
DrawText("Hold SPACE to use TTF generated font", 20, 20, 20, LIGHTGRAY);
if (!useTtf)
{

+ 1
- 1
examples/text/text_font_sdf.c 查看文件

@ -111,7 +111,7 @@ int main(void)
DrawText(FormatText("RENDER SIZE: %02.02f", fontSize), GetScreenWidth() - 240, 50, 20, DARKGRAY);
DrawText("Use MOUSE WHEEL to SCALE TEXT!", GetScreenWidth() - 240, 90, 10, DARKGRAY);
DrawText("PRESS SPACE to USE SDF FONT VERSION!", 340, GetScreenHeight() - 30, 20, MAROON);
DrawText("HOLD SPACE to USE SDF FONT VERSION!", 340, GetScreenHeight() - 30, 20, MAROON);
EndDrawing();
//----------------------------------------------------------------------------------

Loading…
取消
儲存