27 struct builder_spacer;
53 virtual void set_active(
const bool active)
override;
59 virtual unsigned get_state()
const override;
77 static const std::string&
type();
107 virtual std::unique_ptr<widget>
build()
const override;
A config object defines a single node in a WML file, with access to child nodes.
virtual void request_reduce_height(const unsigned maximum_height) override
See widget::request_reduce_height.
virtual unsigned get_state() const override
See styled_widget::get_state.
bool fills_available_space()
virtual void set_active(const bool active) override
See styled_widget::set_active.
virtual bool impl_draw_background() override
See widget::impl_draw_background.
spacer(const implementation::builder_spacer &builder, const std::string &w="0", const std::string &h="0")
static const std::string & type()
Static type getter that does not rely on the widget being constructed.
typed_formula< unsigned > width_
virtual bool get_active() const override
See styled_widget::get_active.
bool disable_click_dismiss() const override
See widget::disable_click_dismiss.
virtual const std::string & get_control_type() const override
Inherited from styled_widget, implemented by REGISTER_WIDGET.
virtual point calculate_best_size() const override
See widget::calculate_best_size.
typed_formula< unsigned > height_
virtual void request_reduce_width(const unsigned maximum_width) override
See widget::request_reduce_width.
Contains the implementation details for lexical_cast and shouldn't be used directly.
virtual std::unique_ptr< widget > build() const override
const std::string height_
builder_spacer(const config &cfg)
resolution(const config &cfg)
spacer_definition(const config &cfg)