Public Member Functions

gui2::policy::maximum_selection::tone Struct Reference

May select only one item. More...

#include <generator_private.hpp>

Inheritance diagram for gui2::policy::maximum_selection::tone:
Inheritance graph
[legend]
Collaboration diagram for gui2::policy::maximum_selection::tone:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void select_item (const unsigned index)
 Called when an item is selected.

Detailed Description

May select only one item.

Definition at line 122 of file generator_private.hpp.


Member Function Documentation

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.

Parameters:
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().

Here is the call graph for this function:


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

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