void SetModalProgress(bool state)
Set the modal progress state.
static const uint MODAL_PROGRESS_REDRAW_TIMEOUT
Timeout between redraws.
class ThreadMutex * _modal_progress_work_mutex
Rights for the performing work.
class ThreadMutex * _modal_progress_paint_mutex
Rights for the painting.
bool _in_modal_progress
Are we in a modal progress or not?
bool IsFirstModalProgressLoop()
Check whether this is the first modal progress loop.
static bool HasModalProgress()
Check if we are currently in a modal progress state.