77 virtual point calculate_best_size()
const override;
83 virtual void set_active(
const bool active)
override;
86 virtual bool get_active()
const override;
89 virtual unsigned get_state()
const override;
92 bool disable_click_dismiss()
const override;
106 static const std::string&
type();
110 virtual const std::string& get_control_type()
const override;
136 virtual std::unique_ptr<widget>
build()
const override;
Base class of a resolution, contains the common keys for a resolution.
virtual bool can_mouse_focus() const override
Whether the mouse move/click event go 'through' this widget.
t_string get_image() const
Wrapper for label.
A label displays a text, the text can be wrapped but no scrollbars are provided.
state_t
Possible states of the widget.
void set_image(const t_string &label)
Wrapper for set_label.
Functions to load and save images from/to disk.
std::unique_ptr< window > build(const builder_window::window_resolution &definition)
Builds a window.
A config object defines a single node in a WML file, with access to child nodes.
Contains the implementation details for lexical_cast and shouldn't be used directly.
std::string tooltip
Shown when hovering over an entry in the filter's drop-down list.