diff options
| author | Ray <[email protected]> | 2020-12-15 17:40:02 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-12-15 17:40:02 +0100 |
| commit | d0d7fce38e51630fa663ebd707ca117b75a8a952 (patch) | |
| tree | a2a645316b14616db3dbd50538c5b933566011ae /examples | |
| parent | 353f573ade2e0903fe0ef9b599db955b1038804b (diff) | |
| download | raylib.com-d0d7fce38e51630fa663ebd707ca117b75a8a952.tar.gz raylib.com-d0d7fce38e51630fa663ebd707ca117b75a8a952.zip | |
Review examples
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/web/shapes/shapes_logo_raylib_anim.c | 2 | ||||
| -rw-r--r-- | examples/web/text/text_writing_anim.c | 2 |
2 files changed, 2 insertions, 2 deletions
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); |
