diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-09-29 19:46:12 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-09-29 19:46:12 +0000 |
commit | aac98cf8bcde36ba50ab45254866afc365a7908a (patch) | |
tree | 4e2ef7600f2ebd101484a305d3df6ca5135b39ef /src/game.cpp | |
parent | c00d3acf930359740ae6125533b5233ae06b765e (diff) | |
download | mana-client-aac98cf8bcde36ba50ab45254866afc365a7908a.tar.gz mana-client-aac98cf8bcde36ba50ab45254866afc365a7908a.tar.bz2 mana-client-aac98cf8bcde36ba50ab45254866afc365a7908a.tar.xz mana-client-aac98cf8bcde36ba50ab45254866afc365a7908a.zip |
Improved a lot windows reset to default size and pos. Also corrected a few the default win position. And moved the setposition from game to each win, to clarify the code.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/game.cpp b/src/game.cpp index c968fba7..136fe347 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -221,23 +221,6 @@ void createGuiWindows() int screenW = graphics->getWidth(); int screenH = graphics->getHeight(); - statusWindow->setPosition((screenW - statusWindow->getWidth()) / 2, - (screenH - statusWindow->getHeight()) / 2); - statusWindow->loadWindowState(); - - miniStatusWindow->setPosition(0, 0); - - minimap->setPosition(3, 30); - minimap->loadWindowState(); - - chatWindow->setPosition(0, screenH - chatWindow->getHeight()); - chatWindow->loadWindowState(); - - menuWindow->setPosition(screenW - menuWindow->getWidth(), 0); - - inventoryWindow->setPosition(60, 5); - inventoryWindow->loadWindowState(); - chargeDialog->setPosition( screenW - 5 - chargeDialog->getWidth(), screenH - chargeDialog->getHeight() - 15); @@ -246,8 +229,6 @@ void createGuiWindows() inventoryWindow->getY() + inventoryWindow->getHeight()); /*buddyWindow->setPosition(10, minimap->getHeight() + 30);*/ - equipmentWindow->setPosition(5,140); - equipmentWindow->loadWindowState(); // Set initial window visibility chatWindow->setVisible(true); |