diff options
| author | raysan5 <raysan5@gmail.com> | 2017-08-27 21:02:24 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2017-08-27 21:02:24 +0200 |
| commit | 12cb3afd9eca6ba3322273da1e6dd3a3ae080cf8 (patch) | |
| tree | 0435499b6633c3dd73801671e957e7af97f66b07 /src/text.c | |
| parent | b951f8700e8ee2b456a3daf9974d679286bbf26f (diff) | |
| download | raylib-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.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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, ...) { |
