82 static void display(std::function<
void()>
f);
83 static bool displaying() {
return singleton_ !=
nullptr; }
88 virtual const std::string& window_id()
const override;
92 virtual void post_show(window& window)
override;
stage_map::const_iterator current_visible_stage_
std::atomic< loading_stage > current_stage_
A drawing is widget with a fixed size and gives access to the canvas of the widget in the window inst...
A label displays a text, the text can be wrapped but no scrollbars are provided.
loading_stage
Loading screen stage IDs.
label * progress_stage_label_
std::string label
What to show in the filter's drop-down list.
std::future< void > worker_result_
stage_map visible_stages_
Various uncategorised dialogs.
std::optional< decltype(std::chrono::steady_clock::now())> animation_start_
std::map< loading_stage, t_string > stage_map
std::unique_ptr< cursor::setter > cursor_setter_
static loading_screen * singleton_
std::function< void()> load_func_
Abstract base class for all modal dialogs.
base class of top level items, the only item which needs to store the final canvases to draw on...