aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/load_gui.cpp
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2018-08-11 08:17:13 -0400
committerAlexander Pickering <alex@cogarr.net>2018-08-11 08:17:13 -0400
commit2c97dada7b9c7fedc511f1ecf012346c198d92f8 (patch)
treeacc094cc13b21d12385e3f51967bf5b3bdbf42ef /src/client/lua_api/load_gui.cpp
parent76b44e3d9b2b9f146866ad66154fecdf3cb8dfd4 (diff)
downloadbrokengine-2c97dada7b9c7fedc511f1ecf012346c198d92f8.tar.gz
brokengine-2c97dada7b9c7fedc511f1ecf012346c198d92f8.tar.bz2
brokengine-2c97dada7b9c7fedc511f1ecf012346c198d92f8.zip
Various updates
Edit boxes can have their contents retreived Fixed a typo for edit box methods various updates to the net api
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;