diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-03-27 14:51:10 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-03-27 14:51:10 +0000 |
commit | 479dcf7e5c79cae48deebb613cd951df7d8d2b46 (patch) | |
tree | 433189fc106f6e49328173e2a3b36f737641a2c4 /src/gui/progressbar.cpp | |
parent | adb2d7987c0395ae9814dc6f8adccc3f0ef7afe4 (diff) | |
download | mana-479dcf7e5c79cae48deebb613cd951df7d8d2b46.tar.gz mana-479dcf7e5c79cae48deebb613cd951df7d8d2b46.tar.bz2 mana-479dcf7e5c79cae48deebb613cd951df7d8d2b46.tar.xz mana-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.cpp | 3 |
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); |