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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ builder_viewport()

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

Definition at line 190 of file viewport.cpp.

Member Function Documentation

◆ build() [1/2]

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

Implements gui2::builder_widget.

Definition at line 196 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 201 of file viewport.cpp.

References gui2::viewport::build().

Member Data Documentation

◆ widget_

builder_widget_ptr gui2::implementation::builder_viewport::widget_

Definition at line 123 of file viewport.hpp.

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