diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-01-25 22:40:18 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-01-25 22:40:18 +0000 |
commit | c3c8c9887fa5320cb88a6d793daf033b10239213 (patch) | |
tree | 7175f247a320da87099e665a939ff72052c5e1c7 /src/graphic/graphic.cpp | |
parent | add62901031e1c981d98779536a0ad16ceddf897 (diff) | |
download | mana-c3c8c9887fa5320cb88a6d793daf033b10239213.tar.gz mana-c3c8c9887fa5320cb88a6d793daf033b10239213.tar.bz2 mana-c3c8c9887fa5320cb88a6d793daf033b10239213.tar.xz mana-c3c8c9887fa5320cb88a6d793daf033b10239213.zip |
*** empty log message ***
Diffstat (limited to 'src/graphic/graphic.cpp')
-rw-r--r-- | src/graphic/graphic.cpp | 5 |
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(); |