aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/gui/iguitreeview.cpp
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2021-10-27 00:59:57 -0500
committerAlexander M Pickering <alex@cogarr.net>2021-10-27 00:59:57 -0500
commitb29ade63e3e6b4b3b163907e391f2968193ba7be (patch)
treec70378e1e284c6fb4ad9eb81f5d8d12eb35883ce /src/client/lua_api/gui/iguitreeview.cpp
parentc4f478522ac796476b16233b9606d4c37e916551 (diff)
downloadbrokengine-b29ade63e3e6b4b3b163907e391f2968193ba7be.tar.gz
brokengine-b29ade63e3e6b4b3b163907e391f2968193ba7be.tar.bz2
brokengine-b29ade63e3e6b4b3b163907e391f2968193ba7be.zip
Correct documentation
Diffstat (limited to 'src/client/lua_api/gui/iguitreeview.cpp')
-rw-r--r--src/client/lua_api/gui/iguitreeview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/lua_api/gui/iguitreeview.cpp b/src/client/lua_api/gui/iguitreeview.cpp
index 3778a50..ff4e655 100644
--- a/src/client/lua_api/gui/iguitreeview.cpp
+++ b/src/client/lua_api/gui/iguitreeview.cpp
@@ -18,10 +18,10 @@ using namespace gui;
extern IrrlichtDevice* device;
/***
+Creates a new tree view.
+Creates a tree view where nodes can be expanded to show extra information, or more subtrees.
@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 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?