diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-10-04 15:57:11 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-10-04 15:57:11 +0000 |
commit | 623fa32c10d7fda1240c256eefd05a7157662198 (patch) | |
tree | 3a952d236cae7f355946fb62c16f62091bfc9d4b /src/gui/status.cpp | |
parent | 7333a74b2c59c5baa4dbd987df7624cdab13585a (diff) | |
download | mana-client-623fa32c10d7fda1240c256eefd05a7157662198.tar.gz mana-client-623fa32c10d7fda1240c256eefd05a7157662198.tar.bz2 mana-client-623fa32c10d7fda1240c256eefd05a7157662198.tar.xz mana-client-623fa32c10d7fda1240c256eefd05a7157662198.zip |
Changed the font in the ministatus win. Fixed some coords bugs when the stats displayed were high.
Diffstat (limited to 'src/gui/status.cpp')
-rw-r--r-- | src/gui/status.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp index 1b570d2a..1a858297 100644 --- a/src/gui/status.cpp +++ b/src/gui/status.cpp @@ -413,6 +413,19 @@ void StatusWindow::update() statsReflexPoints->setCaption(updateText.str()); statsReflexPoints->adjustSize(); + // Update Second column widgets position + gpLabel->setPosition(lvlLabel->getX() + lvlLabel->getWidth() + 20, lvlLabel->getY()); + + xpLabel->setPosition(hpValueLabel->getX() + hpValueLabel->getWidth() + 10, + hpLabel->getY()); + xpBar->setPosition(xpLabel->getX() + xpLabel->getWidth() + 5, + xpLabel->getY()); + xpValueLabel->setPosition(xpBar->getX() + xpBar->getWidth() + 5, + xpLabel->getY()); + + jobXpLabel->setPosition(xpLabel->getX(), mpLabel->getY()); + jobXpBar->setPosition(xpBar->getX(),jobXpLabel->getY()); + jobValueLabel->setPosition(290, jobXpLabel->getY()); } void StatusWindow::draw(gcn::Graphics *graphics) |