Changeset View
Changeset View
Standalone View
Standalone View
source/gui/ObjectTypes/CProgressBar.h
Show All 20 Lines | |||||
#include "gui/ObjectBases/IGUIObject.h" | #include "gui/ObjectBases/IGUIObject.h" | ||||
#include "gui/CGUISprite.h" | #include "gui/CGUISprite.h" | ||||
/** | /** | ||||
* Object used to draw a value (e.g. progress) from 0 to 100 visually. | * Object used to draw a value (e.g. progress) from 0 to 100 visually. | ||||
*/ | */ | ||||
class CProgressBar : public IGUIObject | class CProgressBar : public IGUIObject | ||||
{ | { | ||||
GUI_OBJECT(CProgressBar, "progressbar") | GUI_OBJECT(CProgressBar, "progressbar", GUIObjectFactory) | ||||
public: | public: | ||||
CProgressBar(CGUI& pGUI); | CProgressBar(CGUI& pGUI); | ||||
virtual ~CProgressBar(); | virtual ~CProgressBar(); | ||||
protected: | protected: | ||||
/** | /** | ||||
* Draws the progress bar | * Draws the progress bar | ||||
Show All 16 Lines |
Wildfire Games · Phabricator