22 #ifndef GCN_PERCENTAGE_BAR_HPP
23 #define GCN_PERCENTAGE_BAR_HPP
28 #include <guichan/image.hpp>
29 #include <guichan/platform.hpp>
30 #include <guichan/widget.hpp>
65 virtual void draw(Graphics* graphics);
121 #endif // end GCN_PERCENTAGE_BAR_HPP
Orientation mOrientation
Holds the orientation of the percentage bar.
void setValue(int32_t value)
Sets the value of the percentage bar.
void setOrientation(Orientation orientation)
Sets the orientation of the percentage bar.
double mValue
Holds the current value of the percentage bar.
virtual void draw(Graphics *graphics)
Orientation getOrientation() const
Gets the orientation of the percentage bar.
void setForegroundImage(Image *image)
PercentageBar()
Constructor.
int32_t getValue() const
Gets the value of the percentage bar.