diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-11 16:07:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-11 16:07:26 +0300 |
commit | c38e43cee40cfd7cad2a92ea704aa26c23523b67 (patch) | |
tree | a063389e5c7ddbaa448d495f3573bedf02e983b5 /src/game.cpp | |
parent | 56807a19c2414934b405658da99b67fb53a129a3 (diff) | |
download | manaplus-c38e43cee40cfd7cad2a92ea704aa26c23523b67.tar.gz manaplus-c38e43cee40cfd7cad2a92ea704aa26c23523b67.tar.bz2 manaplus-c38e43cee40cfd7cad2a92ea704aa26c23523b67.tar.xz manaplus-c38e43cee40cfd7cad2a92ea704aa26c23523b67.zip |
Add own theme xml configuration for each shortcuts based window.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game.cpp b/src/game.cpp index 3c7579d78..6eda01640 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -216,7 +216,7 @@ static void createGuiWindows() minimap = new Minimap; helpWindow = new HelpWindow; debugWindow = new DebugWindow; - itemShortcutWindow = new ShortcutWindow("ItemShortcut"); + itemShortcutWindow = new ShortcutWindow("ItemShortcut", "items.xml"); for (int f = 0; f < SHORTCUT_TABS; f ++) { itemShortcutWindow->addTab(toString(f + 1), @@ -230,13 +230,13 @@ static void createGuiWindows() } emoteShortcutWindow = new ShortcutWindow("EmoteShortcut", - new EmoteShortcutContainer); + new EmoteShortcutContainer, "emotes.xml"); outfitWindow = new OutfitWindow(); specialsWindow = new SpecialsWindow(); dropShortcutWindow = new ShortcutWindow("DropShortcut", - new DropShortcutContainer); + new DropShortcutContainer, "drops.xml"); - spellShortcutWindow = new ShortcutWindow("SpellShortcut", + spellShortcutWindow = new ShortcutWindow("SpellShortcut", "spells.xml", 265, 328); for (int f = 0; f < SPELL_SHORTCUT_TABS; f ++) { |