29 struct builder_size_lock;
79 static const std::string&
type();
113 virtual std::unique_ptr<widget>
build()
const override;
A config object defines a single node in a WML file, with access to child nodes.
A generic container base class.
typed_formula< unsigned > width_
void place(const point &origin, const point &size) override
See widget::place.
unsigned get_state() const override
Returns the id of the state.
typed_formula< unsigned > height_
static const std::string & type()
Static type getter that does not rely on the widget being constructed.
bool get_active() const override
Gets the active state of the styled_widget.
void finalize(const builder_widget &widget_builder)
Finishes the building initialization of the widget.
void layout_children() override
See widget::layout_children.
widget * widget_
Points to the actual widget.
point calculate_best_size() const override
See widget::calculate_best_size.
void set_self_active(const bool) override
See container_base::set_self_active.
virtual const std::string & get_control_type() const override
Inherited from styled_widget, implemented by REGISTER_WIDGET.
size_lock(const implementation::builder_size_lock &builder)
std::shared_ptr< builder_grid > builder_grid_ptr
std::shared_ptr< const builder_widget > builder_widget_const_ptr
Contains the implementation details for lexical_cast and shouldn't be used directly.
std::size_t size(std::string_view str)
Length in characters of a UTF-8 string.
builder_size_lock(const config &cfg)
typed_formula< unsigned > height_
typed_formula< unsigned > width_
virtual std::unique_ptr< widget > build() const override
builder_widget_const_ptr content_
resolution(const config &cfg)
size_lock_definition(const config &cfg)