diff options
| author | jussi | 2024-06-26 22:28:13 +0300 |
|---|---|---|
| committer | jussi | 2024-06-26 22:28:13 +0300 |
| commit | e45564ea3f0f27c32264f98da80c6d3556256de0 (patch) | |
| tree | dd9fb36032fcd2aa791226c75826c9cec4a7c3ff /ReiLua_API.lua | |
| parent | c96306bcc3bc685297b8553d01d2eff163754afc (diff) | |
| download | reilua-enhanced-e45564ea3f0f27c32264f98da80c6d3556256de0.tar.gz reilua-enhanced-e45564ea3f0f27c32264f98da80c6d3556256de0.tar.bz2 reilua-enhanced-e45564ea3f0f27c32264f98da80c6d3556256de0.zip | |
Changed naming of gui functions set2Top and set2Back to setToTop and setToBack.
Diffstat (limited to 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 1b74f8b..019138f 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -4045,6 +4045,7 @@ function RL.DrawTextCodepoint( font, codepoint, position, fontSize, tint ) end function RL.DrawTextCodepoints( font, codepoints, position, fontSize, spacing, tint ) end ---Draw text using font inside rectangle limits. +---- Success return int, Vector2 ---@param font any ---@param text string ---@param rec table @@ -4052,8 +4053,10 @@ function RL.DrawTextCodepoints( font, codepoints, position, fontSize, spacing, ---@param spacing number ---@param wordWrap boolean ---@param tint table ----@return any RL.DrawTextBoxed -function RL.DrawTextBoxed( font, text, rec, fontSize, spacing, wordWrap, tint ) end +---@param limitHeight boolean +---@return any mouseCharId +---@return any textOffset +function RL.DrawTextBoxed( font, text, rec, fontSize, spacing, wordWrap, tint, limitHeight ) 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 @@ -4066,10 +4069,11 @@ function RL.DrawTextBoxed( font, text, rec, fontSize, spacing, wordWrap, tint ) ---@param spacing number ---@param wordWrap boolean ---@param tint table +---@param limitHeight boolean ---@param textOffset table ---@return any mouseCharId ---@return any textOffset -function RL.DrawTextBoxedEx( font, text, rec, fontSize, spacing, wordWrap, tint, textOffset ) end +function RL.DrawTextBoxedEx( font, text, rec, fontSize, spacing, wordWrap, tint, limitHeight, textOffset ) end -- Text - Text font info functions |
