diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-02-23 12:28:25 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-02-23 12:28:25 +0000 |
commit | 32cd4fc75d9700c83117d69fb5aca294f3bae6ab (patch) | |
tree | 45047ff9871429f5ad96d884e09ef6a6548331d1 /src/gui/progressbar.h | |
parent | 1128bbe453e5a04ee98b12929537d9f5ca6c8be5 (diff) | |
download | mana-32cd4fc75d9700c83117d69fb5aca294f3bae6ab.tar.gz mana-32cd4fc75d9700c83117d69fb5aca294f3bae6ab.tar.bz2 mana-32cd4fc75d9700c83117d69fb5aca294f3bae6ab.tar.xz mana-32cd4fc75d9700c83117d69fb5aca294f3bae6ab.zip |
Fully working Progress Bars. Now need to get it used Image instance only.
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; |