aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/lua_api/gui/iguispinbox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/lua_api/gui/iguispinbox.cpp b/src/client/lua_api/gui/iguispinbox.cpp
index 25ecbde..a431396 100644
--- a/src/client/lua_api/gui/iguispinbox.cpp
+++ b/src/client/lua_api/gui/iguispinbox.cpp
@@ -19,10 +19,10 @@ using namespace gui;
extern IrrlichtDevice* device;
/***
-@function gui.newspinbox()
Creates a new spinbox
-@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.
+Creates a gui element that has up and down arrows to control the value, and is editable by the user.
+@function gui.newspinbox()
+@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? 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