The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces
generator_private.hpp File Reference
#include "gui/widgets/generator.hpp"
#include "asserts.hpp"
#include "gui/widgets/grid.hpp"
#include "gui/widgets/selectable.hpp"
#include "gui/widgets/toggle_button.hpp"
#include "gui/widgets/toggle_panel.hpp"
Include dependency graph for generator_private.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gui2::policy::minimum_selection::tone
 Must select at least one item. More...
 
struct  gui2::policy::minimum_selection::tnone
 No minimum selection. More...
 
struct  gui2::policy::maximum_selection::tone
 May select only one item. More...
 
struct  gui2::policy::maximum_selection::tinfinite
 No maximum amount of items to select. More...
 
struct  gui2::policy::placement::thorizontal_list
 Places the items in a horizontal row. More...
 
struct  gui2::policy::placement::tvertical_list
 Places the items in a vertical column. More...
 
struct  gui2::policy::placement::tmatrix
 Places the items in a grid. More...
 
struct  gui2::policy::placement::tindependent
 Places the items independent of each other. More...
 
struct  gui2::policy::select_action::tselect
 Select the item, this requires the grid to contain a tselectable_. More...
 
struct  gui2::policy::select_action::tshow
 Show the item. More...
 
class  gui2::tgenerator< minimum_selection, maximum_selection, placement, select_action >
 Basic template class to generate new items. More...
 
struct  gui2::tgenerator< minimum_selection, maximum_selection, placement, select_action >::titem
 Definition of an item. More...
 
struct  gui2::tgenerator< minimum_selection, maximum_selection, placement, select_action >::calculate_order_helper
 

Namespaces

 gui2
 A class inherited from ttext_box that displays its input as stars.
 
 gui2::policy
 Contains the policies for the tgenerator class.
 
 gui2::policy::minimum_selection
 Contains the policy for the minimum number of selected items.
 
 gui2::policy::maximum_selection
 Contains the policy for the maximum number of selected items.
 
 gui2::policy::placement
 Controls how new items are placed.
 
 gui2::policy::select_action
 Contains the policy for which action to take when an item is selected or deselected.