From 2c97dada7b9c7fedc511f1ecf012346c198d92f8 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 11 Aug 2018 08:17:13 -0400 Subject: Various updates Edit boxes can have their contents retreived Fixed a typo for edit box methods various updates to the net api --- src/client/lua_api/load_gui.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/client/lua_api/load_gui.cpp') 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; -- cgit v1.2.3-70-g09d2