Small abstract helper class. More...
#include <integer_selector.hpp>
Public Member Functions | |
virtual | ~tinteger_selector_ () |
virtual void | set_value (const int value)=0 |
Sets the selected value. More... | |
virtual int | get_value () const =0 |
Gets the selected value. More... | |
virtual void | set_minimum_value (const int value)=0 |
Sets the minimum value. More... | |
virtual int | get_minimum_value () const =0 |
Gets the minimum value. More... | |
virtual void | set_maximum_value (const int value)=0 |
Sets the maximum value. More... | |
virtual int | get_maximum_value () const =0 |
Gets the maximum value. More... | |
Small abstract helper class.
Parts of the engine inherit this class so we can have generic widgets to select an integer value.
Definition at line 27 of file integer_selector.hpp.
|
inlinevirtual |
Definition at line 30 of file integer_selector.hpp.
|
pure virtual |
Gets the maximum value.
Implemented in gui2::tslider.
|
pure virtual |
Gets the minimum value.
Implemented in gui2::tslider.
|
pure virtual |
Gets the selected value.
Implemented in gui2::tslider.
Sets the maximum value.
Implemented in gui2::tslider.
Sets the minimum value.
Implemented in gui2::tslider.
Sets the selected value.
Implemented in gui2::tslider.
Referenced by gui2::tdebug_clock::update_time().