From fd18b5526e0c2b058f175ba140258549fec09098 Mon Sep 17 00:00:00 2001 From: jussi Date: Tue, 2 Jul 2024 14:59:38 +0300 Subject: GuiGetIcons fix and added GuiSetIcons. --- ReiLua_API.lua | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'ReiLua_API.lua') diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 019138f..27acb0f 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -6328,11 +6328,18 @@ function RL.GuiIconText( iconId, text ) end ---@return any RL.GuiSetIconScale function RL.GuiSetIconScale( scale ) end ----Get raygui icons data pointer ----- Success return int ----@return any icons +---Get raygui icons data in buffer. guiIcons size is by default: 256*(16*16/32) = 2048*4 = 8192 bytes = 8 KB +---- Success return Buffer +---@return any iconsBuffer function RL.GuiGetIcons() end +---Set raygui icons data in buffer. guiIcons size is by default: 256*(16*16/32) = 2048*4 = 8192 bytes = 8 KB +---- Failure return false +---- Success return true +---@param iconBuffer any +---@return any success +function RL.GuiSetIcons( iconBuffer ) end + ---Load raygui icons file (.rgi) into internal icons data ---- Failure return nil ---- Success return strings{} -- cgit v1.2.3