summaryrefslogtreecommitdiff
path: root/ReiLua_API.lua
diff options
context:
space:
mode:
authorjussi2025-05-03 18:27:39 +0300
committerjussi2025-05-03 18:27:39 +0300
commit067e4091ba9b34d1cc568ada266efde9cbe5c413 (patch)
treef191536c5aa94a9247d973f06ee96c25d09293c8 /ReiLua_API.lua
parent6a4f8ab4a3573fe79bab93528750e1a87de24a58 (diff)
downloadreilua-enhanced-067e4091ba9b34d1cc568ada266efde9cbe5c413.tar.gz
reilua-enhanced-067e4091ba9b34d1cc568ada266efde9cbe5c413.tar.bz2
reilua-enhanced-067e4091ba9b34d1cc568ada266efde9cbe5c413.zip
DrawTextBoxed fix.
Diffstat (limited to 'ReiLua_API.lua')
-rw-r--r--ReiLua_API.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua
index e9c37a6..8086204 100644
--- a/ReiLua_API.lua
+++ b/ReiLua_API.lua
@@ -4538,9 +4538,10 @@ function RL.DrawTextCodepoints( font, codepoints, position, fontSize, spacing,
---@param wordWrap boolean
---@param tint table
---@param limitHeight boolean
+---@param tabSize integer|nil
---@return any mouseCharId
---@return any textOffset
-function RL.DrawTextBoxed( font, text, rec, fontSize, spacing, wordWrap, tint, limitHeight ) end
+function RL.DrawTextBoxed( font, text, rec, fontSize, spacing, wordWrap, tint, limitHeight, tabSize ) end
---Draw text using font inside rectangle limits. Return character id from mouse position (default 0).
---textOffset can be used to set start position inside rectangle. Usefull to pass from previous
@@ -4555,9 +4556,10 @@ function RL.DrawTextBoxed( font, text, rec, fontSize, spacing, wordWrap, tint, l
---@param tint table
---@param limitHeight boolean
---@param textOffset table
+---@param tabSize integer|nil
---@return any mouseCharId
---@return any textOffset
-function RL.DrawTextBoxedEx( font, text, rec, fontSize, spacing, wordWrap, tint, limitHeight, textOffset ) end
+function RL.DrawTextBoxedEx( font, text, rec, fontSize, spacing, wordWrap, tint, limitHeight, textOffset, tabSize ) end
-- Text - Text font info functions