diff options
author | Tametomo <irarice@gmail.com> | 2009-05-05 09:11:14 -0600 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-11 20:51:12 +0200 |
commit | 536fba3a842f2d4a419401723e987dead51567dd (patch) | |
tree | 2f05b239f45f46f679322607570f85f1a79dafcc /src/gui/inventorywindow.cpp | |
parent | e6ab90659ce1430c8d321a68d59de129197a8312 (diff) | |
download | mana-536fba3a842f2d4a419401723e987dead51567dd.tar.gz mana-536fba3a842f2d4a419401723e987dead51567dd.tar.bz2 mana-536fba3a842f2d4a419401723e987dead51567dd.tar.xz mana-536fba3a842f2d4a419401723e987dead51567dd.zip |
Start out all progress bars at 0, so that they progress upwards.
Signed-off-by: Tametomo <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index efa5bc2e..1f03c67ee 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -92,8 +92,8 @@ InventoryWindow::InventoryWindow(int invSize): mSlotsLabel = new Label(_("Slots:")); mWeightLabel = new Label(_("Weight:")); - mSlotsBar = new ProgressBar(1.0f, 100, 20, gcn::Color(225, 200, 25)); - mWeightBar = new ProgressBar(1.0f, 100, 20, gcn::Color(0, 0, 255)); + mSlotsBar = new ProgressBar(0.0f, 100, 20, gcn::Color(225, 200, 25)); + mWeightBar = new ProgressBar(0.0f, 100, 20, gcn::Color(0, 0, 255)); place(0, 0, mWeightLabel).setPadding(3); place(1, 0, mWeightBar, 3); |