29 #ifndef _CEGUIProgressBar_h_
30 #define _CEGUIProgressBar_h_
33 #include "../Window.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
101 void setProgress(
float progress);
127 void step(
void) {setProgress(d_progress + d_step);}
190 void addProgressBarProperties(
void);
195 #if defined(_MSC_VER)
196 # pragma warning(pop)
199 #endif // end of guard _CEGUIProgressBar_h_
static const String WidgetTypeName
Window factory name.
Definition: widgets/ProgressBar.h:53
float getProgress(void) const
return the current progress value
Definition: widgets/ProgressBar.h:79
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Base class for progress bars.
Definition: widgets/ProgressBar.h:49
void setStepSize(float step_val)
set the size of the 'step' in percentage points (default is 0.01f or 1%).
Definition: widgets/ProgressBar.h:114
float d_progress
current progress (from 0.0f to 1.0f)
Definition: widgets/ProgressBar.h:182
void adjustProgress(float delta)
Modify the progress level by a specified delta.
Definition: widgets/ProgressBar.h:141
void step(void)
cause the progress to step
Definition: widgets/ProgressBar.h:127
float d_step
amount to 'step' progress by on a call to step()
Definition: widgets/ProgressBar.h:183
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:149
float getStepSize(void) const
return the current step size
Definition: widgets/ProgressBar.h:85
static const String EventProgressDone
Definition: widgets/ProgressBar.h:69
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: InputEvent.h:251
static const String EventProgressChanged
Definition: widgets/ProgressBar.h:63
String class used within the GUI system.
Definition: String.h:62
static const String EventNamespace
Namespace for global events.
Definition: widgets/ProgressBar.h:52