From 12cb3afd9eca6ba3322273da1e6dd3a3ae080cf8 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sun, 27 Aug 2017 21:02:24 +0200 Subject: Added function DrawRectangleGradientEx() Moved function DrawRectangleT() from text module to shapes Added some comments --- src/text.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/text.c') 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, ...) { -- cgit v1.2.3