75 virtual void set_active(
const bool active)
override;
81 virtual unsigned get_state()
const override;
98 static const std::string&
type();
128 virtual std::unique_ptr<widget>
build()
const override;
A config object defines a single node in a WML file, with access to child nodes.
t_string get_image() const
Wrapper for label.
virtual void set_active(const bool active) override
See styled_widget::set_active.
virtual bool get_active() const override
See styled_widget::get_active.
virtual point calculate_best_size() const override
See widget::calculate_best_size.
bool disable_click_dismiss() const override
See widget::disable_click_dismiss.
image(const implementation::builder_image &builder)
virtual unsigned get_state() const override
See styled_widget::get_state.
virtual const std::string & get_control_type() const override
Inherited from styled_widget, implemented by REGISTER_WIDGET.
state_t
Possible states of the widget.
void set_image(const t_string &label)
Wrapper for set_label.
static const std::string & type()
Static type getter that does not rely on the widget being constructed.
virtual bool can_mouse_focus() const override
Whether the mouse move/click event go 'through' this widget.
Functions to load and save images from/to disk.
Contains the implementation details for lexical_cast and shouldn't be used directly.
resolution(const config &cfg)
image_definition(const config &cfg)
virtual std::unique_ptr< widget > build() const override
builder_image(const config &cfg)