Inheritance diagram for CEGUI::ProgressBar:
Public Member Functions | |
float | getProgress (void) const |
return the current progress value | |
float | getStep (void) const |
return the current step size | |
void | setProgress (float progress) |
set the current progress. | |
void | setStepSize (float step_val) |
set the size of the 'step' in percentage points (default is 0.01f or 1%). | |
void | step (void) |
cause the progress to step | |
void | adjustProgress (float delta) |
Modify the progress level by a specified delta. | |
ProgressBar (const String &type, const String &name) | |
Constructor for ProgressBar class. | |
virtual | ~ProgressBar (void) |
Destructor for ProgressBar. | |
Static Public Attributes | |
static const String | EventNamespace |
Namespace for global events. | |
static const String | EventProgressChanged |
Event fired whenever the progress value changes. | |
static const String | EventProgressDone |
Event fired when the progress bar reaches 100%. | |
Protected Member Functions | |
void | addProgressBarEvents (void) |
Add progress bar specific events to the window. | |
virtual bool | testClassName_impl (const String &class_name) const |
Return whether this window was inherited from the given class name at some point in the inheritance heirarchy. | |
virtual void | onProgressChanged (WindowEventArgs &e) |
event triggered when progress changes | |
virtual void | onProgressDone (WindowEventArgs &e) |
event triggered when progress reaches 100% | |
Protected Attributes | |
float | d_progress |
current progress (from 0.0f to 1.0f) | |
float | d_step |
amount to 'step' progress by on a call to step() |
|
Modify the progress level by a specified delta.
|
|
set the current progress.
|
|
set the size of the 'step' in percentage points (default is 0.01f or 1%).
|
|
cause the progress to step The amount the progress bar will step can be changed by calling the setStepSize method. The default step size is 0.01f which is equal to 1%.
|
|
Return whether this window was inherited from the given class name at some point in the inheritance heirarchy.
Reimplemented from CEGUI::Window. |