OpenTTD
|
Functions for modal progress windows. More...
Go to the source code of this file.
Functions | |
void | SetModalProgress (bool state) |
Set the modal progress state. More... | |
bool | IsFirstModalProgressLoop () |
Check whether this is the first modal progress loop. More... | |
Variables | |
bool | _in_modal_progress = false |
Are we in a modal progress or not? | |
bool | _first_in_modal_loop = false |
bool | _use_threaded_modal_progress = true |
Threading usable for modal progress? | |
std::mutex | _modal_progress_work_mutex |
Rights for the performing work. More... | |
std::mutex | _modal_progress_paint_mutex |
Rights for the painting. More... | |
Functions for modal progress windows.
Definition in file progress.cpp.
bool IsFirstModalProgressLoop | ( | ) |
Check whether this is the first modal progress loop.
Definition at line 41 of file progress.cpp.
Referenced by UseThreadedModelProgress().
void SetModalProgress | ( | bool | state | ) |
Set the modal progress state.
state | The new state; are we modal or not? |
Definition at line 30 of file progress.cpp.
References _in_modal_progress.
Referenced by DoScanNewGRFFiles(), GenerateWorld(), ScanNewGRFFiles(), and UseThreadedModelProgress().
std::mutex _modal_progress_paint_mutex |
Rights for the painting.
Definition at line 23 of file progress.cpp.
Referenced by GRFFileScanner::AddFile(), DoScanNewGRFFiles(), ScanNewGRFFiles(), UseThreadedModelProgress(), and WaitTillGeneratedWorld().
std::mutex _modal_progress_work_mutex |
Rights for the performing work.
Definition at line 21 of file progress.cpp.
Referenced by GRFFileScanner::AddFile(), DoScanNewGRFFiles(), ScanNewGRFFiles(), UseThreadedModelProgress(), and WaitTillGeneratedWorld().