From d0d7fce38e51630fa663ebd707ca117b75a8a952 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 15 Dec 2020 17:40:02 +0100 Subject: Review examples --- examples/web/shapes/shapes_logo_raylib_anim.c | 2 +- examples/web/text/text_writing_anim.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/web/shapes/shapes_logo_raylib_anim.c b/examples/web/shapes/shapes_logo_raylib_anim.c index 529d6ad..2a8501e 100644 --- a/examples/web/shapes/shapes_logo_raylib_anim.c +++ b/examples/web/shapes/shapes_logo_raylib_anim.c @@ -178,7 +178,7 @@ void UpdateDrawFrame(void) 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) { diff --git a/examples/web/text/text_writing_anim.c b/examples/web/text/text_writing_anim.c index a8315b5..28fef66 100644 --- a/examples/web/text/text_writing_anim.c +++ b/examples/web/text/text_writing_anim.c @@ -78,7 +78,7 @@ void UpdateDrawFrame(void) 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, 280, 20, LIGHTGRAY); -- cgit v1.2.3