diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-08-29 19:05:38 +0200 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-08-29 12:05:26 -0600 |
commit | b61faa43db7a48c6a6871fb94dce2de2abd79dfe (patch) | |
tree | be659cf1894f7b3ff030899cb95254f90dcd3326 /src/game.cpp | |
parent | 919e6bef84e3670b206f192613558274a341b976 (diff) | |
download | mana-b61faa43db7a48c6a6871fb94dce2de2abd79dfe.tar.gz mana-b61faa43db7a48c6a6871fb94dce2de2abd79dfe.tar.bz2 mana-b61faa43db7a48c6a6871fb94dce2de2abd79dfe.tar.xz mana-b61faa43db7a48c6a6871fb94dce2de2abd79dfe.zip |
Changing order in which windows are created
The mini status window is higher than its visible area. Creating it first
makes sure that it does not overlap other windows. For example put the
equipment window right below the mini status window. After a restart
you cannot use the close button nor drag it, because you are actually
clicking on the mini status window.
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index d34dc049..eb666fa9 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -148,14 +148,14 @@ static void createGuiWindows() setupWindow->clearWindowsForReset(); // Create dialogs + miniStatusWindow = new MiniStatusWindow; + minimap = new Minimap; chatWindow = new ChatWindow; tradeWindow = new TradeWindow; equipmentWindow = new EquipmentWindow(player_node->mEquipment.get()); statusWindow = new StatusWindow; - miniStatusWindow = new MiniStatusWindow; inventoryWindow = new InventoryWindow(player_node->getInventory()); skillDialog = new SkillDialog; - minimap = new Minimap; helpWindow = new HelpWindow; debugWindow = new DebugWindow; itemShortcutWindow = new ShortcutWindow("ItemShortcut", |