Sfoglia il codice sorgente

Example instructions tweak for clarity

pull/858/head
Ray 5 anni fa
parent
commit
434e460c18
3 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  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 Vedi File

@ -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 Vedi File

@ -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 Vedi File

@ -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();
//----------------------------------------------------------------------------------

Caricamento…
Annulla
Salva