Reviewed example for clarity
This commit is contained in:
parent
dfc4baaa35
commit
7d7c6fc42d
2 changed files with 3 additions and 0 deletions
|
@ -99,6 +99,9 @@ int main()
|
||||||
DrawTexture(fontDefault.texture, 10, 10, BLACK);
|
DrawTexture(fontDefault.texture, 10, 10, BLACK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (currentFont == 1) DrawText("SDF!", 320, 20, 80, RED);
|
||||||
|
else DrawText("default font", 315, 40, 30, GRAY);
|
||||||
|
|
||||||
DrawText("FONT SIZE: 16.0", GetScreenWidth() - 240, 20, 20, DARKGRAY);
|
DrawText("FONT SIZE: 16.0", GetScreenWidth() - 240, 20, 20, DARKGRAY);
|
||||||
DrawText(FormatText("RENDER SIZE: %02.02f", fontSize), GetScreenWidth() - 240, 50, 20, DARKGRAY);
|
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("Use MOUSE WHEEL to SCALE TEXT!", GetScreenWidth() - 240, 90, 10, DARKGRAY);
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
Loading…
Add table
Add a link
Reference in a new issue