From e9539e9373947b7424df8bbb34d8ae30e49a591f Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 13 Jun 2024 14:52:56 +0300 Subject: DrawTextBoxed uses lineSpacing. GetTextLineSpacing. --- ReiLua_API.lua | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'ReiLua_API.lua') 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 -- cgit v1.2.3