The Battle for Wesnoth  1.15.2+dev
Public Member Functions | Public Attributes | List of all members
gui2::implementation::builder_viewport Struct Reference

#include <viewport.hpp>

Inheritance diagram for gui2::implementation::builder_viewport:
Inheritance graph

Public Member Functions

 builder_viewport (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

builder_widget_ptr widget_
- 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 106 of file viewport.hpp.

Constructor & Destructor Documentation

◆ builder_viewport()

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

Definition at line 221 of file viewport.cpp.

Member Function Documentation

◆ build() [1/2]

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

Implements gui2::builder_widget.

Definition at line 227 of file viewport.cpp.

◆ build() [2/2]

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

Implements gui2::builder_widget.

Definition at line 232 of file viewport.cpp.

References gui2::viewport::build().

Member Data Documentation

◆ widget_

builder_widget_ptr gui2::implementation::builder_viewport::widget_

Definition at line 114 of file viewport.hpp.

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