15 #ifndef GUI_WIDGETS_PROGRESS_BAR_HPP_INCLUDED
16 #define GUI_WIDGETS_PROGRESS_BAR_HPP_INCLUDED
40 virtual void set_active(
const bool active)
override;
46 virtual unsigned get_state()
const override;
bool disable_click_dismiss() const override
See twidget::disable_click_dismiss.
void set_percentage(unsigned percentage)
tresolution(const config &cfg)
tstate
Possible states of the widget.
virtual unsigned get_state() const override
See tcontrol::get_state.
Base class of a resolution, contains the common keys for a resolution.
A class inherited from ttext_box that displays its input as stars.
virtual void set_active(const bool active) override
See tcontrol::set_active.
unsigned percentage_
The percentage done.
tprogress_bar_definition(const config &cfg)
Base class for all visible items.
virtual const std::string & get_control_type() const override
See tcontrol::get_control_type.
virtual bool get_active() const override
See tcontrol::get_active.
unsigned get_percentage() const
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string
Contains the implementation details for lexical_cast and shouldn't be used directly.
tbuilder_progress_bar(const config &cfg)