GeoGen Development snapshot a3
|
Go to the source code of this file.
Functions | |
void | GGen_IncreaseProgress () |
void | GGen_InitProgress (uint32 max_progress) |
void | GGen_SetProgress (uint32 current_progress) |
Scripts might sometimes take a lot of time to process. Showing some sort of progress to the user may help to mitigate the "what is happening in the magic box?" effect. Progress in GeoGen is defined by two integers: the max_progress and the current_progress. The max_progress represents the total length of the "progress bar" while the current_progress represents its finished portion.
void GGen_IncreaseProgress | ( | ) |
Increases the current progress value by 1.
void GGen_InitProgress | ( | uint32 | max_progress | ) |
Sets the maximum progress value.
max_progress | New maximum progress value. |
void GGen_SetProgress | ( | uint32 | current_progress | ) |
Sets the current progress value.
current_progress | New current progress value. |