summaryrefslogtreecommitdiff
path: root/src/graphic
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-01-25 22:40:18 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-01-25 22:40:18 +0000
commitc3c8c9887fa5320cb88a6d793daf033b10239213 (patch)
tree7175f247a320da87099e665a939ff72052c5e1c7 /src/graphic
parentadd62901031e1c981d98779536a0ad16ceddf897 (diff)
downloadmana-client-c3c8c9887fa5320cb88a6d793daf033b10239213.tar.gz
mana-client-c3c8c9887fa5320cb88a6d793daf033b10239213.tar.bz2
mana-client-c3c8c9887fa5320cb88a6d793daf033b10239213.tar.xz
mana-client-c3c8c9887fa5320cb88a6d793daf033b10239213.zip
*** empty log message ***
Diffstat (limited to 'src/graphic')
-rw-r--r--src/graphic/graphic.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp
index 8cd117b9..ec136253 100644
--- a/src/graphic/graphic.cpp
+++ b/src/graphic/graphic.cpp
@@ -235,7 +235,7 @@ Engine::Engine()
// Create dialogs
statusWindow = new StatusWindow();
- statusWindow->setPosition(screen->w - statusWindow->getWidth(), 0);
+ statusWindow->setPosition(screen->w - statusWindow->getWidth() - 5, 5);
buyDialog = new BuyDialog();
buyDialog->setVisible(false);
@@ -248,7 +248,7 @@ Engine::Engine()
inventoryWindow = new InventoryWindow();
inventoryWindow->setVisible(false);
- inventoryWindow->setPosition(100, 100);
+ inventoryWindow->setPosition(screen->w - statusWindow->getWidth() - inventoryWindow->getWidth() - 10, 5);
npcTextDialog = new NpcTextDialog();
npcTextDialog->setVisible(false);
@@ -261,6 +261,7 @@ Engine::Engine()
statsWindow = new StatsWindow();
statsWindow->setVisible(false);
+ statsWindow->setPosition(screen->w - 5 - statsWindow->getWidth(), statusWindow->getHeight() + 20);
// Give focus to the chat input
chatInput->requestFocus();