18 #ifndef ATOMPROBE_PROGRESSBAR_H 19 #define ATOMPROBE_PROGRESSBAR_H 31 unsigned int lastProg;
35 float accumulatedTicks;
49 void update(
unsigned int newProgress);
60 bool testProgressBar();
void abort()
Abort drawing the progress.
void finish()
Finalise the progress bar. It is not necessary for the progress to be set to 100%, this is done for you.
void init()
Draw the initial progress bar.
void setLength(unsigned int l)
Set the number of markers in the progress bar.
void reset()
reset the progress bar internals, in case we want to re-use it
void update(unsigned int newProgress)
Draw the progress bar as needed, using the given progress value [0,100].