diff options
| author | raysan5 <[email protected]> | 2020-08-16 11:28:15 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-08-16 11:28:15 +0200 |
| commit | c32ae480afd196d88acdfdb52d5261a61e0deb08 (patch) | |
| tree | f34f662f64424cbade1678c07934b9c12455d68d /examples/text/text_format_text.c | |
| parent | 26f6a64a39671487f5d1eeeffe7fce6538669051 (diff) | |
| download | raylib-c32ae480afd196d88acdfdb52d5261a61e0deb08.tar.gz raylib-c32ae480afd196d88acdfdb52d5261a61e0deb08.zip | |
RENAMED: FormatText() -> TextFormat()
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
Diffstat (limited to 'examples/text/text_format_text.c')
| -rw-r--r-- | examples/text/text_format_text.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/text/text_format_text.c b/examples/text/text_format_text.c index a9f04176..63408eb9 100644 --- a/examples/text/text_format_text.c +++ b/examples/text/text_format_text.c @@ -41,13 +41,13 @@ int main(void) ClearBackground(RAYWHITE); - DrawText(FormatText("Score: %08i", score), 200, 80, 20, RED); + DrawText(TextFormat("Score: %08i", score), 200, 80, 20, RED); - DrawText(FormatText("HiScore: %08i", hiscore), 200, 120, 20, GREEN); + DrawText(TextFormat("HiScore: %08i", hiscore), 200, 120, 20, GREEN); - DrawText(FormatText("Lives: %02i", lives), 200, 160, 40, BLUE); + DrawText(TextFormat("Lives: %02i", lives), 200, 160, 40, BLUE); - DrawText(FormatText("Elapsed Time: %02.02f ms", GetFrameTime()*1000), 200, 220, 20, BLACK); + DrawText(TextFormat("Elapsed Time: %02.02f ms", GetFrameTime()*1000), 200, 220, 20, BLACK); EndDrawing(); //---------------------------------------------------------------------------------- |
