summaryrefslogtreecommitdiffhomepage
path: root/examples/shapes
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/shapes
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/shapes')
-rw-r--r--examples/shapes/shapes_logo_raylib_anim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shapes/shapes_logo_raylib_anim.c b/examples/shapes/shapes_logo_raylib_anim.c
index c6d3796e..9be1d963 100644
--- a/examples/shapes/shapes_logo_raylib_anim.c
+++ b/examples/shapes/shapes_logo_raylib_anim.c
@@ -2,7 +2,7 @@
*
* raylib [shapes] example - raylib logo 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) 2014 Ramon Santamaria (@raysan5)
@@ -140,7 +140,7 @@ int main()
DrawRectangle(screenWidth/2 - 112, screenHeight/2 - 112, 224, 224, Fade(RAYWHITE, alpha));
- DrawText(SubText("raylib", 0, lettersCount), screenWidth/2 - 44, screenHeight/2 + 48, 50, Fade(BLACK, alpha));
+ DrawText(TextSubtext("raylib", 0, lettersCount), screenWidth/2 - 44, screenHeight/2 + 48, 50, Fade(BLACK, alpha));
}
else if (state == 4)
{