summaryrefslogtreecommitdiffhomepage
path: root/examples/text/text_writing_anim.c
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2018-12-26 13:26:34 +0100
committerraysan5 <[email protected]>2018-12-26 13:26:34 +0100
commit01338b0a14f053d281970a32595bc531e8c70885 (patch)
treee1ecfd3f4e4aa18ebcaa35b95746d1b1695c86ad /examples/text/text_writing_anim.c
parent9a8320c52bf179633c33f16d4f0adbf57f820b1b (diff)
downloadraylib-01338b0a14f053d281970a32595bc531e8c70885.tar.gz
raylib-01338b0a14f053d281970a32595bc531e8c70885.zip
WARNING: BREAKING CHANGE
Added a bunch of useful text management functions. Consequently, some already available functions like `FormatText()` and `SubText()` has been renamed for consistency. Created temporal fallbacks for old names. raylib version bumped to 2.3.
Diffstat (limited to 'examples/text/text_writing_anim.c')
-rw-r--r--examples/text/text_writing_anim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/text/text_writing_anim.c b/examples/text/text_writing_anim.c
index 5563b561..b2aba697 100644
--- a/examples/text/text_writing_anim.c
+++ b/examples/text/text_writing_anim.c
@@ -2,7 +2,7 @@
*
* raylib [text] example - Text Writing Animation
*
-* This example has been created using raylib 1.4 (www.raylib.com)
+* This example has been created using raylib 2.3 (www.raylib.com)
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
*
* Copyright (c) 2016 Ramon Santamaria (@raysan5)
@@ -44,7 +44,7 @@ int main()
ClearBackground(RAYWHITE);
- DrawText(SubText(message, 0, framesCounter/10), 210, 160, 20, MAROON);
+ DrawText(TextSubtext(message, 0, framesCounter/10), 210, 160, 20, MAROON);
DrawText("PRESS [ENTER] to RESTART!", 240, 260, 20, LIGHTGRAY);
DrawText("PRESS [SPACE] to SPEED UP!", 239, 300, 20, LIGHTGRAY);