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_
float getProgress(void) const
return the current progress value
Definition: cegui/include/CEGUI/widgets/ProgressBar.h:79
static const String EventProgressDone
Definition: cegui/include/CEGUI/widgets/ProgressBar.h:69
Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42
static const String EventProgressChanged
Definition: cegui/include/CEGUI/widgets/ProgressBar.h:63
static const String WidgetTypeName
Window factory name.
Definition: cegui/include/CEGUI/widgets/ProgressBar.h:53
Base class for progress bars.
Definition: cegui/include/CEGUI/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: cegui/include/CEGUI/widgets/ProgressBar.h:114
float d_progress
current progress (from 0.0f to 1.0f)
Definition: cegui/include/CEGUI/widgets/ProgressBar.h:182
static const String EventNamespace
Namespace for global events.
Definition: cegui/include/CEGUI/widgets/ProgressBar.h:52
void adjustProgress(float delta)
Modify the progress level by a specified delta.
Definition: cegui/include/CEGUI/widgets/ProgressBar.h:141
void step(void)
cause the progress to step
Definition: cegui/include/CEGUI/widgets/ProgressBar.h:127
float d_step
amount to 'step' progress by on a call to step()
Definition: cegui/include/CEGUI/widgets/ProgressBar.h:183
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: cegui/include/CEGUI/Window.h:149
float getStepSize(void) const
return the current step size
Definition: cegui/include/CEGUI/widgets/ProgressBar.h:85
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: cegui/include/CEGUI/InputEvent.h:251
String class used within the GUI system.
Definition: cegui/include/CEGUI/String.h:62