aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/gui/iguispinbox.cpp
diff options
context:
space:
mode:
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])