From 421c4e4cd85310bef3a8f79f89d23e3a1eac9668 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 12 Mar 2021 18:05:09 +0100 Subject: Renamed FormatText() -> TextFormat() --- examples/web/shapes/shapes_collision_area.c | 2 +- examples/web/shapes/shapes_draw_circle_sector.c | 2 +- examples/web/shapes/shapes_draw_ring.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/web/shapes') diff --git a/examples/web/shapes/shapes_collision_area.c b/examples/web/shapes/shapes_collision_area.c index 5d67108..4838e6f 100644 --- a/examples/web/shapes/shapes_collision_area.c +++ b/examples/web/shapes/shapes_collision_area.c @@ -130,7 +130,7 @@ void UpdateDrawFrame(void) DrawText("COLLISION!", GetScreenWidth()/2 - MeasureText("COLLISION!", 20)/2, screenUpperLimit/2 - 10, 20, BLACK); // Draw collision area - DrawText(FormatText("Collision Area: %i", (int)boxCollision.width*(int)boxCollision.height), GetScreenWidth()/2 - 100, screenUpperLimit + 10, 20, BLACK); + DrawText(TextFormat("Collision Area: %i", (int)boxCollision.width*(int)boxCollision.height), GetScreenWidth()/2 - 100, screenUpperLimit + 10, 20, BLACK); } DrawFPS(10, 10); diff --git a/examples/web/shapes/shapes_draw_circle_sector.c b/examples/web/shapes/shapes_draw_circle_sector.c index 8b00376..a6826a8 100644 --- a/examples/web/shapes/shapes_draw_circle_sector.c +++ b/examples/web/shapes/shapes_draw_circle_sector.c @@ -107,7 +107,7 @@ void UpdateDrawFrame(void) segments = GuiSliderBar((Rectangle){ 600, 170, 120, 20}, "Segments", TextFormat("%2i", segments), segments, 0, 20); //------------------------------------------------------------------------------ - DrawText(FormatText("MODE: %s", (segments >= 4)? "MANUAL" : "AUTO"), 600, 200, 10, (segments >= 4)? MAROON : DARKGRAY); + DrawText(TextFormat("MODE: %s", (segments >= 4)? "MANUAL" : "AUTO"), 600, 200, 10, (segments >= 4)? MAROON : DARKGRAY); DrawFPS(10, 10); diff --git a/examples/web/shapes/shapes_draw_ring.c b/examples/web/shapes/shapes_draw_ring.c index ba61b9a..fc0d490 100644 --- a/examples/web/shapes/shapes_draw_ring.c +++ b/examples/web/shapes/shapes_draw_ring.c @@ -117,7 +117,7 @@ void UpdateDrawFrame(void) drawCircleLines = GuiCheckBox((Rectangle){ 600, 380, 20, 20 }, "Draw CircleLines", drawCircleLines); //------------------------------------------------------------------------------ - DrawText(FormatText("MODE: %s", (segments >= 4)? "MANUAL" : "AUTO"), 600, 270, 10, (segments >= 4)? MAROON : DARKGRAY); + DrawText(TextFormat("MODE: %s", (segments >= 4)? "MANUAL" : "AUTO"), 600, 270, 10, (segments >= 4)? MAROON : DARKGRAY); DrawFPS(10, 10); -- cgit v1.2.3