diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-02-25 01:20:00 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-02-25 01:38:14 +0200 |
commit | 5322d978519f9d5677d2096e1167439c84b23cd1 (patch) | |
tree | dfe6324fb6d3b573290687716dd98e45efb76019 /src/game.cpp | |
parent | 473dc9b1949ba7c51b59146815969b723a748d6d (diff) | |
download | manaverse-5322d978519f9d5677d2096e1167439c84b23cd1.tar.gz manaverse-5322d978519f9d5677d2096e1167439c84b23cd1.tar.bz2 manaverse-5322d978519f9d5677d2096e1167439c84b23cd1.tar.xz manaverse-5322d978519f9d5677d2096e1167439c84b23cd1.zip |
Add tabs to spells window. Now it 5 tabs.
Also dont save to configs default cell items for different item containers.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index 4726d2f96..fe459f804 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -210,9 +210,15 @@ static void createGuiWindows() specialsWindow = new SpecialsWindow(); dropShortcutWindow = new ShortcutWindow("DropShortcut", new DropShortcutContainer); + spellShortcutWindow = new ShortcutWindow("SpellShortcut", - new SpellShortcutContainer, - 265, 310); + 265, 328); + for (int f = 0; f < SPELL_SHORTCUT_TABS; f ++) + { + spellShortcutWindow->addTab(toString(f + 1), + new SpellShortcutContainer(f)); + } + botCheckerWindow = new BotCheckerWindow(); whoIsOnline = new WhoIsOnline(); killStats = new KillStats; |