diff options
| author | jussi | 2024-06-13 14:52:56 +0300 |
|---|---|---|
| committer | jussi | 2024-06-13 14:52:56 +0300 |
| commit | e9539e9373947b7424df8bbb34d8ae30e49a591f (patch) | |
| tree | 0719f3bf5a00c53a43317d34c28d3b3925d4b4cd /ReiLua_API.lua | |
| parent | f3dbe7d24bcf01d9a23326880dbb1a28457ff51f (diff) | |
| download | reilua-enhanced-e9539e9373947b7424df8bbb34d8ae30e49a591f.tar.gz reilua-enhanced-e9539e9373947b7424df8bbb34d8ae30e49a591f.tar.bz2 reilua-enhanced-e9539e9373947b7424df8bbb34d8ae30e49a591f.zip | |
DrawTextBoxed uses lineSpacing. GetTextLineSpacing.
Diffstat (limited to 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 7e0b28e..7df75b1 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -4064,17 +4064,22 @@ function RL.DrawTextBoxed( font, text, rec, fontSize, spacing, wordWrap, tint ) ---@param fontSize number ---@param spacing number ---@param wordWrap boolean ----@param tints table ----@param backTints table +---@param tints{} table +---@param backTints{} table ---@return any mouseCharId -function RL.DrawTextBoxedTinted( font, text, rec, fontSize, spacing, wordWrap, tints, backTints ) end +function RL.DrawTextBoxedTinted( font, text, rec, fontSize, spacing, wordWrap, tints{}, backTints{} ) end -- Text - Text font info functions ---Set vertical line spacing when drawing with line-breaks ---@param spacing integer ----@return any size -function RL.SetTextLineSpacing( spacing ) end +---@return any RL.SetTextLineSpacing +function RL.SetTextLineSpacing( spacing ) end + +---Get vertical line spacing when drawing with line-breaks +---- Success return int +---@return any spacing +function RL.GetTextLineSpacing() end ---Measure string width for default font ---- Success return int |
