59 return (_value / _range) * 100.0f;
void set_bar_style(const PGFrameStyle &style)
Sets the kind of frame that is drawn on top of the WaitBar to represent the amount completed.
PN_stdfloat get_percent() const
Returns the percentage complete.
void set_value(PN_stdfloat value)
Sets the current value of the bar.
PN_stdfloat get_range() const
Returns the value at which the WaitBar indicates 100%.
Similar to MutexHolder, but for a light reentrant mutex.
void set_range(PN_stdfloat range)
Sets the value at which the WaitBar indicates 100%.
PGFrameStyle get_bar_style() const
Returns the kind of frame that is drawn on top of the WaitBar to represent the amount completed.
PN_stdfloat get_value() const
Returns the current value of the bar.