29#ifndef _CEGUIProgressBar_h_
30#define _CEGUIProgressBar_h_
38# pragma warning(disable : 4251)
127 void step(
void) {setProgress(d_progress + d_step);}
190 void addProgressBarProperties(
void);
Base class for progress bars.
Definition widgets/ProgressBar.h:50
virtual ~ProgressBar(void)
Destructor for ProgressBar.
void adjustProgress(float delta)
Modify the progress level by a specified delta.
Definition widgets/ProgressBar.h:141
virtual void onProgressChanged(WindowEventArgs &e)
event triggered when progress changes
static const String WidgetTypeName
Window factory name.
Definition widgets/ProgressBar.h:53
float getStepSize(void) const
return the current step size
Definition widgets/ProgressBar.h:85
ProgressBar(const String &type, const String &name)
Constructor for ProgressBar class.
static const String EventNamespace
Namespace for global events.
Definition widgets/ProgressBar.h:52
virtual void onProgressDone(WindowEventArgs &e)
event triggered when progress reaches 100%
static const String EventProgressChanged
Definition widgets/ProgressBar.h:63
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_step
amount to 'step' progress by on a call to step()
Definition widgets/ProgressBar.h:183
void step(void)
cause the progress to step
Definition widgets/ProgressBar.h:127
float getProgress(void) const
return the current progress value
Definition widgets/ProgressBar.h:79
float d_progress
current progress (from 0.0f to 1.0f)
Definition widgets/ProgressBar.h:182
void setProgress(float progress)
set the current progress.
static const String EventProgressDone
Definition widgets/ProgressBar.h:69
String class used within the GUI system.
Definition String.h:64
base class for properties able to do native set/get
Definition TypedProperty.h:50
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition InputEvent.h:252
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition Window.h:151
Main namespace for Crazy Eddie's GUI Library.
Definition arch_overview.dox:1