The Battle for Wesnoth  1.19.7+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:

Public Member Functions

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

Public Attributes

grow_direction::type grow_dir
 
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
 
widget::debug_border 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 = utils::optional_reference< const replacements_map >
 

Detailed Description

Definition at line 190 of file pane.hpp.

Constructor & Destructor Documentation

◆ builder_pane()

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

Definition at line 353 of file pane.cpp.

References _(), parallel_items, and VALIDATE.

Member Function Documentation

◆ build() [1/2]

std::unique_ptr< widget > gui2::implementation::builder_pane::build ( ) const
overridevirtual

Implements gui2::builder_widget.

Definition at line 362 of file pane.cpp.

◆ build() [2/2]

std::unique_ptr< widget > gui2::implementation::builder_pane::build ( const replacements_map replacements) const
overridevirtual

Implements gui2::builder_widget.

Definition at line 367 of file pane.cpp.

Member Data Documentation

◆ grow_dir

grow_direction::type gui2::implementation::builder_pane::grow_dir

Definition at line 198 of file pane.hpp.

◆ item_definition

builder_grid_ptr gui2::implementation::builder_pane::item_definition

Definition at line 202 of file pane.hpp.

◆ parallel_items

unsigned gui2::implementation::builder_pane::parallel_items

Definition at line 200 of file pane.hpp.

Referenced by builder_pane().


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