A config object defines a single node in a WML file, with access to child nodes.
std::shared_ptr< builder_widget > builder_widget_ptr
std::shared_ptr< styled_widget_definition > styled_widget_definition_ptr
std::set< std::string > & registered_window_types()
Returns the list of registered windows.
void register_window(const std::string &id)
Registers a window.
std::function< styled_widget_definition_ptr(const config &)> widget_parser_t
Function type alias for register_widget.
void register_widget_builder(const std::string &type, widget_builder_func_t functor)
Registers a widget builder.
std::map< std::string, registered_widget_parser > & registered_widget_types()
Returns the list of registered widgets and their parsers.
void register_widget(const std::string &type, widget_parser_t f, const char *key)
Registers a widget type.
std::function< builder_widget_ptr(const config &)> widget_builder_func_t
Function type alias for register_widget_builder.
std::map< std::string, widget_builder_func_t > & widget_builder_lookup()
Returns the list of registered widget builders.