The Battle for Wesnoth  1.15.1+dev
Classes | Namespaces
generator_private.hpp File Reference
#include "gui/widgets/generator.hpp"
#include "gui/widgets/grid.hpp"
#include "gui/widgets/selectable_item.hpp"
#include "gui/widgets/toggle_button.hpp"
#include "gui/widgets/toggle_panel.hpp"
#include "gui/widgets/window.hpp"
#include "wml_exception.hpp"
#include <cassert>
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::one_item
 Must select at least one item. More...
 
struct  gui2::policy::minimum_selection::no_item
 No minimum selection. More...
 
struct  gui2::policy::maximum_selection::one_item
 May select only one item. More...
 
struct  gui2::policy::maximum_selection::many_items
 No maximum amount of items to select. More...
 
struct  gui2::policy::placement::horizontal_list
 Places the items in a horizontal row. More...
 
struct  gui2::policy::placement::vertical_list
 Places the items in a vertical column. More...
 
struct  gui2::policy::placement::table
 Places the items in a grid. More...
 
struct  gui2::policy::placement::independent
 Places the items independent of each other. More...
 
struct  gui2::policy::select_action::selection
 Select the item, this requires the grid to contain a selectable_item. More...
 
struct  gui2::policy::select_action::show
 Show the item. More...
 
class  gui2::generator< minimum_selection, maximum_selection, my_placement, select_action >
 Basic template class to generate new items. More...
 
struct  gui2::generator< minimum_selection, maximum_selection, my_placement, select_action >::child
 Definition of an item. More...
 
struct  gui2::generator< minimum_selection, maximum_selection, my_placement, select_action >::calculate_order_helper
 

Namespaces

 gui2
 Generic file dialog.
 
 gui2::policy
 Contains the policies for the generator 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.