From d3202073a72b4ff0f98c29cdb096e2747dbaaae8 Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 26 Sep 2024 23:02:13 +0300 Subject: FontCopy. --- ReiLua_API.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ReiLua_API.lua') diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 383386d..db2c766 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -3992,6 +3992,12 @@ function RL.LoadFontFromMemory( fileType, fileData, fontSize, codepoints ) end ---@return any font function RL.LoadFontFromData( fontData ) end +---Load font copy as new userdata +---- Success return Font +---@param font any +---@return any font +function RL.FontCopy( font ) end + ---Check if a font is ready ---- Success return bool ---@param font any @@ -6326,7 +6332,7 @@ function RL.GuiGetState() end ---@return any RL.GuiSetFont function RL.GuiSetFont( font ) end ----Get gui custom font (global state). Return as lightuserdata +---Get gui font (global state). Return as lightuserdata ---- Success return Font ---@return any font function RL.GuiGetFont() end -- cgit v1.2.3