28 class integer_selector;
89 bool step(
const unsigned milliseconds = 30);
127 virtual void update()
override;
virtual void update() override
Update state and any parameters that may effect layout, or any of the later stages.
progress_bar * second_percentage_
Progress bar for displaying the seconds as a percentage.
progress_bar * minute_percentage_
Progress bar for displaying the minutes as a percentage.
integer_selector * minute_
An integer selector to display the total seconds this hour.
integer_selector * second_
An integer selector to display the seconds this minute.
virtual const std::string & window_id() const override
The type of window this is.
void update_time(const bool force)
The callback for the drawing routine.
event::signal signal_
The signal patched in the drawing routine.
time time_
The ‘current’ time.
progress_bar * hour_percentage_
Progress bar for displaying the hours as a percentage.
integer_selector * hour_
An integer selector to display the total seconds.
styled_widget * clock_
A widget that can display the time.
The popup class shows windows that are shown non-modal.
Small abstract helper class.
A pane is a container where new members can be added and removed during run-time.
Various uncategorised dialogs.
dispatcher_callback<> signal
Used for events in event_category::general.
Helper struct to keep track of the time.
unsigned minute
The number of minutes.
unsigned second
The number of seconds.
unsigned hour
The number of hours.
void set_current_time()
Sets the fields to the current time.
bool step(const unsigned milliseconds=30)
Moves the clock x milliseconds forward.
unsigned millisecond
The number of milliseconds.