#include <instance.hpp>
Public Member Functions | |
builder_instance (const config &cfg) | |
virtual std::unique_ptr< widget > | build () const override |
virtual std::unique_ptr< widget > | 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 | |
config | configuration |
Holds a copy of the cfg parameter in the constructor. More... | |
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 > |
Definition at line 28 of file instance.hpp.
|
explicit |
Definition at line 28 of file instance.cpp.
|
overridevirtual |
Implements gui2::builder_widget.
Definition at line 33 of file instance.cpp.
|
overridevirtual |
Implements gui2::builder_widget.
Definition at line 38 of file instance.cpp.
References gui2::implementation::builder_spacer::build(), and configuration.
config gui2::implementation::builder_instance::configuration |
Holds a copy of the cfg parameter in the constructor.
This is used when instantiating a spacer, it can still use the parameters originally sent.
Definition at line 42 of file instance.hpp.
Referenced by build().