Public Member Functions

gui2::tinteger_selector_ Class Reference

Small abstract helper class. More...

#include <integer_selector.hpp>

Inheritance diagram for gui2::tinteger_selector_:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~tinteger_selector_ ()
virtual void set_value (const int value)=0
 Sets the selected value.
virtual int get_value () const =0
 Gets the selected value.
virtual void set_minimum_value (const int value)=0
 Sets the minimum value.
virtual int get_minimum_value () const =0
 Gets the minimum value.
virtual void set_maximum_value (const int value)=0
 Sets the maximum value.
virtual int get_maximum_value () const =0
 Gets the maximum value.

Detailed Description

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.


Constructor & Destructor Documentation

virtual gui2::tinteger_selector_::~tinteger_selector_ (  )  [inline, virtual]

Definition at line 30 of file integer_selector.hpp.


Member Function Documentation

virtual int gui2::tinteger_selector_::get_maximum_value (  )  const [pure virtual]

Gets the maximum value.

Implemented in gui2::tslider.

virtual int gui2::tinteger_selector_::get_minimum_value (  )  const [pure virtual]

Gets the minimum value.

Implemented in gui2::tslider.

virtual int gui2::tinteger_selector_::get_value (  )  const [pure virtual]

Gets the selected value.

Implemented in gui2::tslider.

virtual void gui2::tinteger_selector_::set_maximum_value ( const int  value  )  [pure virtual]

Sets the maximum value.

Implemented in gui2::tslider.

virtual void gui2::tinteger_selector_::set_minimum_value ( const int  value  )  [pure virtual]

Sets the minimum value.

Implemented in gui2::tslider.

virtual void gui2::tinteger_selector_::set_value ( const int  value  )  [pure virtual]

Sets the selected value.

Implemented in gui2::tslider.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:22:57 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs