diff options
| author | Demizdor <[email protected]> | 2019-01-23 21:36:54 +0200 |
|---|---|---|
| committer | Demizdor <[email protected]> | 2019-01-23 21:36:54 +0200 |
| commit | 6f66425946faf2d029f591c0ca53ab7ee09762ec (patch) | |
| tree | c651d32b017feaa7605cd841fd54fd3e653d6236 /src/raylib.h | |
| parent | 68db3a894a9344b5bd30d1eb8a746ade2cfb9b8f (diff) | |
| download | raylib-6f66425946faf2d029f591c0ca53ab7ee09762ec.tar.gz raylib-6f66425946faf2d029f591c0ca53ab7ee09762ec.zip | |
Added DrawTextRecEx()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index f104ada8..e2b5b788 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1134,6 +1134,8 @@ RLAPI void DrawFPS(int posX, int posY); RLAPI void DrawText(const char *text, int posX, int posY, int fontSize, Color color); // Draw text (using default font) RLAPI void DrawTextEx(Font font, const char *text, Vector2 position, float fontSize, float spacing, Color tint); // Draw text using font and additional parameters RLAPI void DrawTextRec(Font font, const char *text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint); // Draw text using font inside rectangle limits +RLAPI void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint, + int selectStart, int selectLength, Color selectText, Color selectBG); // Draw text using font inside rectangle limits with support for text selection // Text misc. functions RLAPI int MeasureText(const char *text, int fontSize); // Measure string width for default font |
