The Battle for Wesnoth  1.15.0-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)
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

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
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 89 of file viewport.hpp.

Constructor & Destructor Documentation

◆ builder_viewport()

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

Definition at line 191 of file viewport.cpp.

Member Function Documentation

◆ build() [1/2]

widget_ptr gui2::implementation::builder_viewport::build ( ) const

Implements gui2::builder_widget.

Definition at line 197 of file viewport.cpp.

◆ build() [2/2]

widget_ptr gui2::implementation::builder_viewport::build ( const replacements_map replacements) const

Implements gui2::builder_widget.

Definition at line 202 of file viewport.cpp.

Member Data Documentation

◆ widget_

builder_widget_ptr gui2::implementation::builder_viewport::widget_

Definition at line 97 of file viewport.hpp.

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