diff options
Diffstat (limited to 'src/gui/progressbar.h')
-rw-r--r-- | src/gui/progressbar.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/gui/progressbar.h b/src/gui/progressbar.h index 22161995..81255b6e 100644 --- a/src/gui/progressbar.h +++ b/src/gui/progressbar.h @@ -67,10 +67,25 @@ class ProgressBar : public gcn::Widget { void setColor( unsigned char MyRed, unsigned char MyGreen, - unsigned char MyBlue) - { - Red = MyRed; Green = MyGreen; Blue = MyBlue; - }; + unsigned char MyBlue); + + /** + * Get The red value of color + */ + unsigned char getRed() + { return Red; }; + + /** + * Get The red value of color + */ + unsigned char getGreen() + { return Green; }; + + /** + * Get The red value of color + */ + unsigned char getBlue() + { return Blue; }; private: float progress; |