From 28ac27fae16d5d2df6174564dde05c6064515a33 Mon Sep 17 00:00:00 2001 From: jussi Date: Tue, 7 Nov 2023 01:37:21 +0200 Subject: Replaced DrawTextBoxedSelectable with DrawTextBoxedTinted. --- API.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'API.md') diff --git a/API.md b/API.md index c87b58a..c0651cf 100644 --- a/API.md +++ b/API.md @@ -6058,15 +6058,19 @@ Draw multiple character (codepoint) --- -> RL.DrawTextBoxed(Font font, const char *text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint ) +> mouseCharId = RL.DrawTextBoxed(Font font, string text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint ) -Draw text using font inside rectangle limits. Function from raylib [text] example - Rectangle bounds +Draw text using font inside rectangle limits. Return character from mouse position. Function from raylib [text] example - Rectangle bounds. + +- Success return int --- -> RL.DrawTextBoxedSelectable( Font font, string text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint, int selectStart, int selectLength, Color selectTint, Color selectBackTint ) +> mouseCharId = RL.DrawTextBoxedTinted( Font font, string text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tints, Color backTints ) -Draw text using font inside rectangle limits with support for text selection. Function from raylib [text] example - Rectangle bounds +Draw text using font inside rectangle limits with support for tint and background tint for each character. Return character from mouse position + +- Success return int --- -- cgit v1.2.3