29struct 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_
static const std::string & type()
Static type getter that does not rely on the widget being constructed.
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_
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.
virtual const std::string & get_control_type() const override
Inherited from styled_widget, implemented by REGISTER_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.
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.
typed_formula< unsigned > height_
typed_formula< unsigned > width_
virtual std::unique_ptr< widget > build() const override
builder_widget_const_ptr content_