5 #ifndef __I_GUI_SPIN_BOX_H_INCLUDED__ 6 #define __I_GUI_SPIN_BOX_H_INCLUDED__ 68 #endif // __I_GUI_SPIN_BOX_H_INCLUDED__ virtual f32 getStepSize() const =0
get the current step size
Single line edit box + spin buttons.
float f32
32 bit floating point variable.
virtual void setRange(f32 min, f32 max)=0
set the range of values which can be used in the spinbox
Everything in the Irrlicht Engine can be found in this namespace.
virtual IGUIEditBox * getEditBox() const =0
Access the edit box used in the spin control.
GUI Environment. Used as factory and manager of all other GUI elements.
IGUISpinBox(IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)
constructor
signed int s32
32 bit signed variable.
Base class of all GUI elements.
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
virtual void setDecimalPlaces(s32 places)=0
Single line edit box for editing simple text.
virtual f32 getValue() const =0
Get the current value of the spinbox.
virtual f32 getMin() const =0
get the minimum value which can be used in the spinbox
virtual f32 getMax() const =0
get the maximum value which can be used in the spinbox