summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shapes
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/shapes')
-rw-r--r--examples/web/shapes/shapes_collision_area.c2
-rw-r--r--examples/web/shapes/shapes_draw_circle_sector.c2
-rw-r--r--examples/web/shapes/shapes_draw_ring.c2
3 files changed, 3 insertions, 3 deletions
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);