#include <widget.hpp>
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. |
Parts of the engine inherit this class so we can have generic selectable items.
Definition at line 286 of file gui/widgets/widget.hpp.
virtual gui2::tselectable_::~tselectable_ | ( | ) | [inline, virtual] |
Definition at line 289 of file gui/widgets/widget.hpp.
virtual bool gui2::tselectable_::is_selected | ( | ) | const [pure virtual] |
virtual void gui2::tselectable_::set_selected | ( | const | bool = true |
) | [pure virtual] |
Select the control.
Implemented in gui2::ttoggle_button.
Referenced by gui2::tlistbox::list_item_selected(), and gui2::tlistbox::trow::select_in_grid().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |