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/ministatus.cpp | |
parent | b4150856b56584b3922f2a9e2489ba472d2e864b (diff) | |
download | mana-client-8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c.tar.gz mana-client-8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c.tar.bz2 mana-client-8ee8ea70b5a32e1b8a5ad3e670cfe9ebee47bb4c.tar.xz mana-client-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/ministatus.cpp')
-rw-r--r-- | src/gui/ministatus.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp index b49ca051..b4bc29e9 100644 --- a/src/gui/ministatus.cpp +++ b/src/gui/ministatus.cpp @@ -36,10 +36,10 @@ MiniStatusWindow::MiniStatusWindow(): Popup("MiniStatus") { - mHpBar = new ProgressBar(1.0f, 100, 20, 0, 171, 34); + mHpBar = new ProgressBar(1.0f, 100, 20, gcn::Color(0, 171, 34)); #ifdef EATHENA_SUPPORT - mMpBar = new ProgressBar(1.0f, 100, 20, 26, 102, 230); - mXpBar = new ProgressBar(1.0f, 100, 20, 143, 192, 211); + mMpBar = new ProgressBar(1.0f, 100, 20, gcn::Color(26, 102, 230)); + mXpBar = new ProgressBar(1.0f, 100, 20, gcn::Color(143, 192, 211)); #endif mHpBar->setPosition(0, 3); |