From e93e064373c382b80ecb37919335fbfe424efeea Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Wed, 28 Sep 2005 20:09:25 +0000 Subject: Added window internal name to every window. Useful to later get and save X, Y, Height, and Width of these wins. --- src/gui/ministatus.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/gui/ministatus.cpp') 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); -- cgit v1.2.3-70-g09d2