gui2::tselectable_ Class Reference

Small abstract helper class. More...

#include <widget.hpp>

Inheritance diagram for gui2::tselectable_:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~tselectable_ ()
virtual bool is_selected () const =0
 Is the control selected?
virtual void set_selected (const bool=true)=0
 Select the control.


Detailed Description

Small abstract helper class.

Parts of the engine inherit this class so we can have generic selectable items.

Definition at line 286 of file gui/widgets/widget.hpp.


Constructor & Destructor Documentation

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

Definition at line 289 of file gui/widgets/widget.hpp.


Member Function Documentation

virtual bool gui2::tselectable_::is_selected (  )  const [pure virtual]

Is the control selected?

Implemented in gui2::ttoggle_button.

virtual void gui2::tselectable_::set_selected ( const   bool = true  )  [pure virtual]


The documentation for this class was generated from the following file:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs