summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2019-02-03 20:47:13 +0100
committerGitHub <[email protected]>2019-02-03 20:47:13 +0100
commit01ace743d0aaaf9c96cc0f24bec1a2f7f8a1c38b (patch)
tree90234dba72834b5e0437b6b28969344be03f43dd /src/raylib.h
parent9740e5d3ed5a9e225daa24ac618f689fcf11a426 (diff)
parent6f66425946faf2d029f591c0ca53ab7ee09762ec (diff)
downloadraylib-01ace743d0aaaf9c96cc0f24bec1a2f7f8a1c38b.tar.gz
raylib-01ace743d0aaaf9c96cc0f24bec1a2f7f8a1c38b.zip
Merge pull request #734 from Demizdor/master
Added DrawTextRecEx()
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h2
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