diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-08 18:27:27 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-08 18:29:54 +0200 |
commit | 8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c (patch) | |
tree | 694cbbfbf0e191c8a3f245441a93cc027319a8f6 /src/gui/inventorywindow.cpp | |
parent | b4150856b56584b3922f2a9e2489ba472d2e864b (diff) | |
download | mana-8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c.tar.gz mana-8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c.tar.bz2 mana-8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c.tar.xz mana-8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c.zip |
Fixed one pixel missing from progress bars
Also fixed the progress bar during connecting to reset again when full,
by disabling the smooth updating there.
The ProgressBar now uses gcn::Color instead of three separate color
attributes.
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 08abaf92..a7be69b8 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, 225, 200, 25); - mWeightBar = new ProgressBar(1.0f, 100, 20, 0, 0, 255); + mSlotsBar = new ProgressBar(1.0f, 100, 20, gcn::Color(225, 200, 25)); + mWeightBar = new ProgressBar(1.0f, 100, 20, gcn::Color(0, 0, 255)); place(0, 0, mWeightLabel).setPadding(3); place(1, 0, mWeightBar, 3); |