| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
Single line edit box + spin buttons. More...
#include <IGUISpinBox.h>
Public Member Functions | |
| virtual IGUIEditBox * | getEditBox () const =0 |
| Access the edit box used in the spin control. | |
| virtual f32 | getMax () const =0 |
| get the maximum value which can be used in the spinbox | |
| virtual f32 | getMin () const =0 |
| get the minimum value which can be used in the spinbox | |
| virtual f32 | getStepSize () const =0 |
| get the current step size | |
| virtual f32 | getValue () const =0 |
| Get the current value of the spinbox. | |
| IGUISpinBox (IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle) | |
| constructor | |
| virtual void | setDecimalPlaces (s32 places)=0 |
| Sets the number of decimal places to display. | |
| virtual void | setRange (f32 min, f32 max)=0 |
| set the range of values which can be used in the spinbox | |
| virtual void | setStepSize (f32 step=1.f)=0 |
| Step size by which values are changed when pressing the spinbuttons. | |
| virtual void | setValue (f32 val)=0 |
| set the current value of the spinbox | |
Single line edit box + spin buttons.
Definition at line 17 of file IGUISpinBox.h.
| irr::gui::IGUISpinBox::IGUISpinBox | ( | IGUIEnvironment * | environment, | |
| IGUIElement * | parent, | |||
| s32 | id, | |||
| core::rect< s32 > | rectangle | |||
| ) | [inline] |
constructor
Definition at line 22 of file IGUISpinBox.h.
| virtual IGUIEditBox* irr::gui::IGUISpinBox::getEditBox | ( | ) | const [pure virtual] |
Access the edit box used in the spin control.
| virtual f32 irr::gui::IGUISpinBox::getMax | ( | ) | const [pure virtual] |
get the maximum value which can be used in the spinbox
| virtual f32 irr::gui::IGUISpinBox::getMin | ( | ) | const [pure virtual] |
get the minimum value which can be used in the spinbox
| virtual f32 irr::gui::IGUISpinBox::getStepSize | ( | ) | const [pure virtual] |
get the current step size
| virtual f32 irr::gui::IGUISpinBox::getValue | ( | ) | const [pure virtual] |
Get the current value of the spinbox.
| virtual void irr::gui::IGUISpinBox::setDecimalPlaces | ( | s32 | places | ) | [pure virtual] |
Sets the number of decimal places to display.
| places,: | The number of decimal places to display, use -1 to reset |
set the range of values which can be used in the spinbox
| min,: | minimum value | |
| max,: | maximum value |
| virtual void irr::gui::IGUISpinBox::setStepSize | ( | f32 | step = 1.f |
) | [pure virtual] |
Step size by which values are changed when pressing the spinbuttons.
The step size also determines the number of decimal places to display
| step,: | stepsize used for value changes when pressing spinbuttons |
| virtual void irr::gui::IGUISpinBox::setValue | ( | f32 | val | ) | [pure virtual] |
set the current value of the spinbox
| val,: | value to be set in the spinbox |
| The Irrlicht
Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated
on Sun Feb 14 13:07:05 2010 by Doxygen
(1.6.2) |