summaryrefslogtreecommitdiff
path: root/src/gui/progressbar.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-03-27 14:51:10 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-03-27 14:51:10 +0000
commit479dcf7e5c79cae48deebb613cd951df7d8d2b46 (patch)
tree433189fc106f6e49328173e2a3b36f737641a2c4 /src/gui/progressbar.cpp
parentadb2d7987c0395ae9814dc6f8adccc3f0ef7afe4 (diff)
downloadmana-client-479dcf7e5c79cae48deebb613cd951df7d8d2b46.tar.gz
mana-client-479dcf7e5c79cae48deebb613cd951df7d8d2b46.tar.bz2
mana-client-479dcf7e5c79cae48deebb613cd951df7d8d2b46.tar.xz
mana-client-479dcf7e5c79cae48deebb613cd951df7d8d2b46.zip
Applied patch by peavey and added his name to the ChangeLog some more.
Diffstat (limited to 'src/gui/progressbar.cpp')
-rw-r--r--src/gui/progressbar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/progressbar.cpp b/src/gui/progressbar.cpp
index 6851484f..6d18b2f7 100644
--- a/src/gui/progressbar.cpp
+++ b/src/gui/progressbar.cpp
@@ -35,9 +35,10 @@ ProgressBar::ProgressBar(float progress,
unsigned int width, unsigned int height,
Uint8 red, Uint8 green, Uint8 blue):
gcn::Widget(),
- mProgress(progress), mRed(red), mGreen(green), mBlue(blue),
+ mRed(red), mGreen(green), mBlue(blue),
mRedToGo(red), mGreenToGo(green), mBlueToGo(blue)
{
+ setProgress(progress);
setWidth(width);
setHeight(height);