43 virtual unsigned get_state()
const override;
54 static const std::string&
type();
96 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.
virtual bool impl_draw_foreground() override
See widget::impl_draw_foreground.
virtual bool impl_draw_background() override
See widget::impl_draw_background.
static const std::string & type()
Static type getter that does not rely on the widget being constructed.
virtual const std::string & get_control_type() const override
Inherited from styled_widget, implemented by REGISTER_WIDGET.
virtual bool get_active() const override
See styled_widget::get_active.
panel(const implementation::builder_styled_widget &builder, const std::string &control_type="")
Constructor.
virtual unsigned get_state() const override
See styled_widget::get_state.
virtual SDL_Rect get_client_rect() const override
See container_base::get_client_rect.
virtual point border_space() const override
See container_base::border_space.
virtual void set_self_active(const bool active) override
See container_base::set_self_active.
std::shared_ptr< builder_grid > builder_grid_ptr
Contains the implementation details for lexical_cast and shouldn't be used directly.
builder_panel(const config &cfg)
virtual std::unique_ptr< widget > build() const override
resolution(const config &cfg)
panel_definition(const config &cfg)