summaryrefslogtreecommitdiff
path: root/src/gui/ministatus.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 12:24:36 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-03-09 12:24:36 +0000
commit76185faa619fd06576f2e67e1f2d5f1fb659e340 (patch)
tree48a7bdff1cbee3f0485a84991c9beac6bd9929a6 /src/gui/ministatus.cpp
parente5f795ad9952b8bba6993ee3e324b22a0f104816 (diff)
downloadmana-76185faa619fd06576f2e67e1f2d5f1fb659e340.tar.gz
mana-76185faa619fd06576f2e67e1f2d5f1fb659e340.tar.bz2
mana-76185faa619fd06576f2e67e1f2d5f1fb659e340.tar.xz
mana-76185faa619fd06576f2e67e1f2d5f1fb659e340.zip
Removed coordinate arguments from ProgressBar ctor.
Diffstat (limited to 'src/gui/ministatus.cpp')
-rw-r--r--src/gui/ministatus.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp
index 4f070acd..e4cfc6a6 100644
--- a/src/gui/ministatus.cpp
+++ b/src/gui/ministatus.cpp
@@ -40,18 +40,17 @@ MiniStatusWindow::MiniStatusWindow():
setMovable(false);
setTitleBarHeight(0);
- mHpBar = new ProgressBar(1.0f,
- 0, 3, 100, 20,
- 0, 171, 34);
-
- mMpBar = new ProgressBar(1.0f,
- mHpBar->getX() + mHpBar->getWidth() + 3,
- mHpBar->getY(), 100, 20, 26, 102, 230);
-
+ mHpBar = new ProgressBar(1.0f, 100, 20, 0, 171, 34);
+ mMpBar = new ProgressBar(1.0f, 100, 20, 26, 102, 230);
mHpLabel = new gcn::Label("");
mMpLabel = new gcn::Label("");
+
+ mHpBar->setPosition(0, 3);
+ mMpBar->setPosition(mHpBar->getWidth() + 3, 3);
+
mHpLabel->setForegroundColor(gcn::Color(255, 255, 255));
mMpLabel->setForegroundColor(gcn::Color(255, 255, 255));
+
mHpLabel->setFont(speechFont);
mMpLabel->setFont(speechFont);