aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/load_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/lua_api/load_gui.cpp')
-rw-r--r--src/client/lua_api/load_gui.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/client/lua_api/load_gui.cpp b/src/client/lua_api/load_gui.cpp
index 4ad5438..5b580bf 100644
--- a/src/client/lua_api/load_gui.cpp
+++ b/src/client/lua_api/load_gui.cpp
@@ -40,6 +40,15 @@ lua_State* tL;
int screenwidth(lua_State* L);
int screenheight(lua_State* L);
+/***
+@function gui.scrw()
+@treturn number The width of the screen
+*/
+
+/***
+@function gui.scrh()
+@treturn number The height of the screen
+*/
void load_guifuncs(lua_State* L){
printf("Started loading gui...\n");
tL = L;