aboutsummaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2017-08-27 21:02:24 +0200
committerraysan5 <raysan5@gmail.com>2017-08-27 21:02:24 +0200
commit12cb3afd9eca6ba3322273da1e6dd3a3ae080cf8 (patch)
tree0435499b6633c3dd73801671e957e7af97f66b07 /src/text.c
parentb951f8700e8ee2b456a3daf9974d679286bbf26f (diff)
downloadraylib-12cb3afd9eca6ba3322273da1e6dd3a3ae080cf8.tar.gz
raylib-12cb3afd9eca6ba3322273da1e6dd3a3ae080cf8.zip
Added function DrawRectangleGradientEx()
Moved function DrawRectangleT() from text module to shapes Added some comments
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/text.c b/src/text.c
index fe00ce86..465e4546 100644
--- a/src/text.c
+++ b/src/text.c
@@ -457,14 +457,6 @@ void DrawTextEx(SpriteFont spriteFont, const char *text, Vector2 position, float
}
}
-// Draw rectangle using text character (char: 127)
-// NOTE: Useful to avoid changing to default white texture
-void DrawRectangleT(int posX, int posY, int width, int height, Color color)
-{
- DrawTexturePro(GetDefaultFont().texture, GetDefaultFont().chars[95].rec,
- (Rectangle){ posX, posY, width, height }, (Vector2){ 0, 0 }, 0.0f, color);
-}
-
// Formatting of text with variables to 'embed'
const char *FormatText(const char *text, ...)
{