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)
 
virtual widget_ptr build () const override
 
virtual widget_ptr build (const replacements_map &replacements) const override
 
- Public Member Functions inherited from gui2::builder_widget
 builder_widget (const config &cfg)
 
virtual ~builder_widget ()
 

Public Attributes

placer_base::grow_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
using replacements_map = std::map< std::string, std::shared_ptr< builder_widget > >
 The replacements type is used to define replacement types. More...
 
using optional_replacements_t = boost::optional< const replacements_map & >
 

Detailed Description

Definition at line 187 of file pane.hpp.

Constructor & Destructor Documentation

◆ builder_pane()

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

Definition at line 392 of file pane.cpp.

References _(), parallel_items, and VALIDATE.

Member Function Documentation

◆ build() [1/2]

widget_ptr gui2::implementation::builder_pane::build ( ) const
overridevirtual

Implements gui2::builder_widget.

Definition at line 402 of file pane.cpp.

◆ build() [2/2]

widget_ptr gui2::implementation::builder_pane::build ( const replacements_map replacements) const
overridevirtual

Implements gui2::builder_widget.

Definition at line 407 of file pane.cpp.

Member Data Documentation

◆ grow_direction

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

Definition at line 195 of file pane.hpp.

◆ item_definition

builder_grid_ptr gui2::implementation::builder_pane::item_definition

Definition at line 199 of file pane.hpp.

◆ parallel_items

unsigned gui2::implementation::builder_pane::parallel_items

Definition at line 197 of file pane.hpp.

Referenced by builder_pane().


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