From 067e4091ba9b34d1cc568ada266efde9cbe5c413 Mon Sep 17 00:00:00 2001 From: jussi Date: Sat, 3 May 2025 18:27:39 +0300 Subject: DrawTextBoxed fix. --- ReiLua_API.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ReiLua_API.lua') 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 -- cgit v1.2.3