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

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

Constructor & Destructor Documentation

◆ builder_viewport()

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

Definition at line 168 of file viewport.cpp.

Member Function Documentation

◆ build() [1/2]

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

Implements gui2::builder_widget.

Definition at line 174 of file viewport.cpp.

◆ build() [2/2]

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

Implements gui2::builder_widget.

Definition at line 179 of file viewport.cpp.

Member Data Documentation

◆ widget_

builder_widget_ptr gui2::implementation::builder_viewport::widget_

Definition at line 110 of file viewport.hpp.


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