aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/gui/iguitreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/lua_api/gui/iguitreeview.cpp')
-rw-r--r--src/client/lua_api/gui/iguitreeview.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/client/lua_api/gui/iguitreeview.cpp b/src/client/lua_api/gui/iguitreeview.cpp
index 68aa3cc..3778a50 100644
--- a/src/client/lua_api/gui/iguitreeview.cpp
+++ b/src/client/lua_api/gui/iguitreeview.cpp
@@ -11,25 +11,21 @@ extern "C" {
#include "client/callbackhandeler.hpp"
#include <shared/lua_api/common.hpp>
-/***
-@module gui
-*/
using namespace irr;
using namespace core;
using namespace gui;
-
extern IrrlichtDevice* device;
/***
-@function newtreeview()
+@function gui.newtreeview()
Creates a new tree view
@tparam dimensions rect The rectangle to place the tree view at.
If the box has a parent, it is offset from the upper-left of the parent element.
-@tparam ?iguielement parent The parent element of the button.
-@tparam ?boolean draw_background Should we draw a background for the tree view?
-@tparam ?boolean vertical_scroll Should there be a vertical scroll bar?
-@tparam ?boolean horizonal_scroll Should there be a horizontal scroll bar?
+@tparam? iguielement parent The parent element of the button.
+@tparam? boolean draw_background Should we draw a background for the tree view?
+@tparam? boolean vertical_scroll Should there be a vertical scroll bar?
+@tparam? boolean horizonal_scroll Should there be a horizontal scroll bar?
@treturn iguitreeview The tree view element
*/
//gui.newtreeview({{sx,sy},{ex,ey}},[,parent][,draw_background][,vertical_scroll][,horizontal_scroll])