summaryrefslogtreecommitdiff
path: root/src/gui/ministatus.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-09-28 20:09:25 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-09-28 20:09:25 +0000
commite93e064373c382b80ecb37919335fbfe424efeea (patch)
treec090ee89b74f1b92c58ec2641eeb9a9f80471ec7 /src/gui/ministatus.cpp
parentafaf7b68b8761268fdc54066e02cfe8df1d23dec (diff)
downloadMana-e93e064373c382b80ecb37919335fbfe424efeea.tar.gz
Mana-e93e064373c382b80ecb37919335fbfe424efeea.tar.bz2
Mana-e93e064373c382b80ecb37919335fbfe424efeea.tar.xz
Mana-e93e064373c382b80ecb37919335fbfe424efeea.zip
Added window internal name to every window. Useful to later get and save X, Y, Height, and Width of these wins.
Diffstat (limited to 'src/gui/ministatus.cpp')
-rw-r--r--src/gui/ministatus.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp
index 8814a5fd..fe6db718 100644
--- a/src/gui/ministatus.cpp
+++ b/src/gui/ministatus.cpp
@@ -45,12 +45,8 @@ MiniStatusWindow::MiniStatusWindow():
hpBar->getX() + hpBar->getWidth() + 3,
hpBar->getY(), 100, 20, 26, 102, 230);
- hpLabel = new gcn::Label("/");
- mpLabel = new gcn::Label("/");
- hpLabel->setPosition(hpBar->getX() + int((hpBar->getWidth() / 2) - (hpLabel->getWidth() / 2)),
- hpBar->getY() + int((hpBar->getHeight() / 2) - (hpLabel->getHeight() / 2)));
- mpLabel->setPosition(mpBar->getX() + int((mpBar->getWidth() / 2) - (mpLabel->getWidth() / 2)),
- mpBar->getY() + int((mpBar->getHeight() / 2) - (mpLabel->getHeight() / 2)));
+ hpLabel = new gcn::Label("");
+ mpLabel = new gcn::Label("");
add(hpBar);
add(mpBar);