aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/gui/iguispinbox.cpp
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2018-09-10 23:11:08 -0400
committerAlexander Pickering <alex@cogarr.net>2018-09-10 23:11:08 -0400
commitc38d5eca7091fc7f0206ed0c746622022b2ae508 (patch)
tree8c01d4a941b4152675354b8b7a46c0906e9fb40c /src/client/lua_api/gui/iguispinbox.cpp
parentb3c0d2ead1f384b35615be562c5f06804e8990cb (diff)
downloadbrokengine-c38d5eca7091fc7f0206ed0c746622022b2ae508.tar.gz
brokengine-c38d5eca7091fc7f0206ed0c746622022b2ae508.tar.bz2
brokengine-c38d5eca7091fc7f0206ed0c746622022b2ae508.zip
Added documentation
Also added treeview guielemnt Also added ifilesystem guielement Also added io library
Diffstat (limited to 'src/client/lua_api/gui/iguispinbox.cpp')
-rw-r--r--src/client/lua_api/gui/iguispinbox.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/lua_api/gui/iguispinbox.cpp b/src/client/lua_api/gui/iguispinbox.cpp
index 0cea67e..7cb1775 100644
--- a/src/client/lua_api/gui/iguispinbox.cpp
+++ b/src/client/lua_api/gui/iguispinbox.cpp
@@ -24,10 +24,11 @@ extern IrrlichtDevice* device;
/***
@function newspinbox()
Creates a new spinbox
-@tparam dimensions rect The rectangle to place the button at. If the box has a parent,
+@tparam rect dimensions The rectangle to place the button at. If the box has a parent,
it is offset from the upper-left of the parent element.
-@tparam parent (iguielement | nil) parent The parent element of the button.
-@tparam default_text (string | nil) default_text The default text to have in the button
+@tparam ?string default_text The default text to display in the spinbox.
+@tparam ?iguielement parent The parent element of the button.
+@tparam ?boolean border Display a border around the spinbox
@treturn iguibutton The button element
*/
//gui.newspinbox({{sx,sy},{ex,ey}}[,"text"][,parent][,border])