summaryrefslogtreecommitdiff
path: root/src/lua_core.c
diff options
context:
space:
mode:
authorjussi2022-03-30 22:15:57 +0300
committerjussi2022-03-30 22:15:57 +0300
commitf5b723519f8dd9358db15ac5f366f6646905715f (patch)
treeaf3f4c00a28a26b31d4ab7fc8f5125b4dd448cb7 /src/lua_core.c
parent9997e40530d0af01a2fa930d45c55b419cae996f (diff)
downloadreilua-enhanced-f5b723519f8dd9358db15ac5f366f6646905715f.tar.gz
reilua-enhanced-f5b723519f8dd9358db15ac5f366f6646905715f.tar.bz2
reilua-enhanced-f5b723519f8dd9358db15ac5f366f6646905715f.zip
Gui Icons.
Diffstat (limited to 'src/lua_core.c')
-rw-r--r--src/lua_core.c8
1 files changed, 8 insertions, 0 deletions
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. */