From f5b723519f8dd9358db15ac5f366f6646905715f Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 30 Mar 2022 22:15:57 +0300 Subject: Gui Icons. --- src/lua_core.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lua_core.c') diff --git a/src/lua_core.c b/src/lua_core.c index d6ef706..aeeec9c 100644 --- a/src/lua_core.c +++ b/src/lua_core.c @@ -811,6 +811,8 @@ void luaRegister() { /* Style. */ lua_register( L, "RL_GuiSetStyle", lguiGuiSetStyle ); lua_register( L, "RL_GuiGetStyle", lguiGuiGetStyle ); + lua_register( L, "RL_GuiLoadStyle", lguiGuiLoadStyle ); + lua_register( L, "RL_GuiLoadStyleDefault", lguiGuiLoadStyleDefault ); /* Container. */ lua_register( L, "RL_GuiWindowBox", lguiGuiWindowBox ); lua_register( L, "RL_GuiGroupBox", lguiGuiGroupBox ); @@ -840,6 +842,12 @@ void luaRegister() { lua_register( L, "RL_GuiColorPanel", lguiGuiColorPanel ); lua_register( L, "RL_GuiColorBarAlpha", lguiGuiColorBarAlpha ); lua_register( L, "RL_GuiColorBarHue", lguiGuiColorBarHue ); + /* Icons. */ + lua_register( L, "RL_GuiDrawIcon", lguiGuiDrawIcon ); + lua_register( L, "RL_GuiSetIconScale", lguiGuiSetIconScale ); + lua_register( L, "RL_GuiSetIconPixel", lguiGuiSetIconPixel ); + lua_register( L, "RL_GuiClearIconPixel", lguiGuiClearIconPixel ); + lua_register( L, "RL_GuiCheckIconPixel", lguiGuiCheckIconPixel ); } /* Lua util functions. */ -- cgit v1.2.3