diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-21 18:56:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-21 18:56:18 +0300 |
commit | 79e280817b91f4e9b67cc42a8abf5c49243f56a5 (patch) | |
tree | 3e159883582184e7e0eaf92db943798b58caac9a /src/actions/actions.cpp | |
parent | 2c1130c1a8acb1c3df42ba904589d01b6a459017 (diff) | |
download | manaverse-79e280817b91f4e9b67cc42a8abf5c49243f56a5.tar.gz manaverse-79e280817b91f4e9b67cc42a8abf5c49243f56a5.tar.bz2 manaverse-79e280817b91f4e9b67cc42a8abf5c49243f56a5.tar.xz manaverse-79e280817b91f4e9b67cc42a8abf5c49243f56a5.zip |
Move tabs related actions into separate file.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 32bdd44ca..93294bfc0 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -189,26 +189,6 @@ impHandler(shortcut) return false; } -impHandler0(prevSocialTab) -{ - if (socialWindow) - { - socialWindow->prevTab(); - return true; - } - return false; -} - -impHandler0(nextSocialTab) -{ - if (socialWindow) - { - socialWindow->nextTab(); - return true; - } - return false; -} - impHandler0(quit) { if (!Game::instance()) @@ -675,46 +655,6 @@ impHandler0(showWindows) return false; } -impHandler0(nextShortcutsTab) -{ - if (itemShortcutWindow) - { - itemShortcutWindow->nextTab(); - return true; - } - return false; -} - -impHandler0(prevShortcutsTab) -{ - if (itemShortcutWindow) - { - itemShortcutWindow->prevTab(); - return true; - } - return false; -} - -impHandler0(nextCommandsTab) -{ - if (spellShortcutWindow) - { - spellShortcutWindow->nextTab(); - return true; - } - return false; -} - -impHandler0(prevCommandsTab) -{ - if (spellShortcutWindow) - { - spellShortcutWindow->prevTab(); - return true; - } - return false; -} - impHandler0(openTrade) { const Being *const being = localPlayer->getTarget(); |