The Battle for Wesnoth  1.15.0-dev
Public Member Functions | Public Attributes | List of all members
gui2::implementation::builder_pane Struct Reference

#include <pane.hpp>

Inheritance diagram for gui2::implementation::builder_pane:
Inheritance graph

Public Member Functions

 builder_pane (const config &cfg)
 
widgetbuild () const
 
widgetbuild (const replacements_map &replacements) const
 
- Public Member Functions inherited from gui2::builder_widget
 builder_widget (const config &cfg)
 
virtual ~builder_widget ()
 

Public Attributes

placer_base::tgrow_direction grow_direction
 
unsigned parallel_items
 
builder_grid_ptr item_definition
 
- Public Attributes inherited from gui2::builder_widget
std::string id
 Parameters for the widget. More...
 
std::string linked_group
 
int debug_border_mode
 
color_t debug_border_color
 

Additional Inherited Members

- Public Types inherited from gui2::builder_widget
typedef std::map< std::string, std::shared_ptr< builder_widget > > replacements_map
 The replacements type is used to define replacement types. More...
 

Detailed Description

Definition at line 201 of file pane.hpp.

Constructor & Destructor Documentation

◆ builder_pane()

gui2::implementation::builder_pane::builder_pane ( const config cfg)
explicit

Definition at line 422 of file pane.cpp.

References _(), parallel_items, and VALIDATE.

Member Function Documentation

◆ build() [1/2]

widget * gui2::implementation::builder_pane::build ( ) const
virtual

Implements gui2::builder_widget.

Definition at line 432 of file pane.cpp.

◆ build() [2/2]

widget * gui2::implementation::builder_pane::build ( const replacements_map replacements) const
virtual

Implements gui2::builder_widget.

Definition at line 437 of file pane.cpp.

References gui2::pane::build().

Member Data Documentation

◆ grow_direction

placer_base::tgrow_direction gui2::implementation::builder_pane::grow_direction

Definition at line 209 of file pane.hpp.

◆ item_definition

builder_grid_ptr gui2::implementation::builder_pane::item_definition

Definition at line 213 of file pane.hpp.

◆ parallel_items

unsigned gui2::implementation::builder_pane::parallel_items

Definition at line 211 of file pane.hpp.

Referenced by builder_pane().


The documentation for this struct was generated from the following files: