May select only one item. More...
#include <generator_private.hpp>


Public Member Functions | |
| void | select_item (const unsigned index) |
| Called when an item is selected. | |
May select only one item.
Definition at line 122 of file generator_private.hpp.
| void gui2::policy::maximum_selection::tone::select_item | ( | const unsigned | index | ) | [inline] |
Called when an item is selected.
This function can deselect other items to obey the policy. This function should always call do_select_item() so the new item does get selected.
| index | The item to select. |
Definition at line 134 of file generator_private.hpp.
References gui2::tgenerator_::do_deselect_item(), gui2::tgenerator_::do_select_item(), gui2::tgenerator_::get_selected_item(), and gui2::tgenerator_::get_selected_item_count().

| Generated by doxygen 1.7.1 on Fri May 25 2012 01:23:42 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |