15 #ifndef GUI_WIDGETS_DRAWING_HPP_INCLUDED
16 #define GUI_WIDGETS_DRAWING_HPP_INCLUDED
51 virtual void set_active(
const bool active)
override;
57 virtual unsigned get_state()
const override;
virtual const std::string & get_control_type() const override
See tcontrol::get_control_type.
tpoint best_size_
When we're used as a fixed size item, this holds the best size.
tbuilder_drawing(const config &cfg)
virtual bool get_active() const override
See tcontrol::get_active.
void set_best_size(const tpoint &best_size)
Base class of a resolution, contains the common keys for a resolution.
A class inherited from ttext_box that displays its input as stars.
config draw
Config containing what to draw on the widgets canvas.
virtual void set_active(const bool active) override
See tcontrol::set_active.
tstate
Possible states of the widget.
virtual unsigned get_state() const override
See tcontrol::get_state.
tformula< unsigned > height
The height of the widget.
virtual tpoint calculate_best_size() const override
See twidget::calculate_best_size.
tresolution(const config &cfg)
Base class for all visible items.
tformula< unsigned > width
The width of the widget.
tdrawing_definition(const config &cfg)
A config object defines a single node in a WML file, with access to child nodes.
bool disable_click_dismiss() const override
See twidget::disable_click_dismiss.
GLsizei const GLcharARB ** string
Contains the implementation details for lexical_cast and shouldn't be used directly.