From 182f17566580e7ac3e332f99d233df3c1c8b399e Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Wed, 27 Oct 2021 01:04:47 -0500 Subject: Add documentation --- src/client/lua_api/gui/iguispinbox.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client') 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 -- cgit v1.2.3-70-g09d2