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