summaryrefslogtreecommitdiff
path: root/src/gui/progressbar.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-02-23 12:28:25 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-02-23 12:28:25 +0000
commit32cd4fc75d9700c83117d69fb5aca294f3bae6ab (patch)
tree45047ff9871429f5ad96d884e09ef6a6548331d1 /src/gui/progressbar.h
parent1128bbe453e5a04ee98b12929537d9f5ca6c8be5 (diff)
downloadMana-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.h23
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;