diff options
| author | Ray <[email protected]> | 2021-03-12 18:05:09 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-12 18:05:09 +0100 |
| commit | 421c4e4cd85310bef3a8f79f89d23e3a1eac9668 (patch) | |
| tree | a49167a3f2c2ae7558c9a3a94696bc187ffbc824 /examples/web/shapes | |
| parent | cc62fcccc630fdc4badcad8381d5bb43eb71fa1f (diff) | |
| download | raylib.com-421c4e4cd85310bef3a8f79f89d23e3a1eac9668.tar.gz raylib.com-421c4e4cd85310bef3a8f79f89d23e3a1eac9668.zip | |
Renamed FormatText() -> TextFormat()
Diffstat (limited to 'examples/web/shapes')
| -rw-r--r-- | examples/web/shapes/shapes_collision_area.c | 2 | ||||
| -rw-r--r-- | examples/web/shapes/shapes_draw_circle_sector.c | 2 | ||||
| -rw-r--r-- | examples/web/shapes/shapes_draw_ring.c | 2 |
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); |
