The Battle for Wesnoth  1.17.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:

Public Member Functions

 builder_pane (const config &cfg)
virtual widgetbuild () const override
virtual 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

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
widget::debug_border 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 204 of file pane.hpp.

Constructor & Destructor Documentation

◆ builder_pane()

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

Definition at line 376 of file pane.cpp.

References _(), parallel_items, and VALIDATE.

Member Function Documentation

◆ build() [1/2]

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

Implements gui2::builder_widget.

Definition at line 386 of file pane.cpp.

◆ build() [2/2]

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

Implements gui2::builder_widget.

Definition at line 391 of file pane.cpp.

References gui2::pane::build().

Member Data Documentation

◆ grow_direction

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

Definition at line 212 of file pane.hpp.

◆ item_definition

builder_grid_ptr gui2::implementation::builder_pane::item_definition

Definition at line 216 of file pane.hpp.

◆ parallel_items

unsigned gui2::implementation::builder_pane::parallel_items

Definition at line 214 of file pane.hpp.

Referenced by builder_pane().

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