From c38d5eca7091fc7f0206ed0c746622022b2ae508 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Mon, 10 Sep 2018 23:11:08 -0400 Subject: Added documentation Also added treeview guielemnt Also added ifilesystem guielement Also added io library --- src/client/lua_api/gui/iguiwindow.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/client/lua_api/gui/iguiwindow.cpp') diff --git a/src/client/lua_api/gui/iguiwindow.cpp b/src/client/lua_api/gui/iguiwindow.cpp index 1c9c5ea..fde8cf1 100644 --- a/src/client/lua_api/gui/iguiwindow.cpp +++ b/src/client/lua_api/gui/iguiwindow.cpp @@ -17,9 +17,20 @@ extern "C" { #include "../../callbackhandeler.hpp" #include +/*** +@module gui +*/ using namespace irr; using namespace gui; +/*** +@function newwindow() +Creates a new gui window . +@tparam rect dimensions The rectangle to create the window at. +@tparam string title_text The text to show in the title bar of the window +@tparam ?iguielement parent The parent element of the window. +@treturn iguiwindow The window element +*/ //new({{sx,sy},{ex,ey}},"title"[,{guielement=parent}]) :: {guielement} static int newiguiwindow(lua_State* L){ IGUIElement* parent = NULL; -- cgit v1.2.3-70-g09d2