diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-21 18:40:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-21 18:40:20 +0300 |
commit | 08507b9d5b3e16f8d40b32bb2540c0dbc31ff4f1 (patch) | |
tree | 8fa1b387091bb0b502325c9ba2845f456c80dd59 /src/actions/actions.cpp | |
parent | d8bd7fec4c21e4e4b19053153d5e3a271f3e0a42 (diff) | |
download | plus-08507b9d5b3e16f8d40b32bb2540c0dbc31ff4f1.tar.gz plus-08507b9d5b3e16f8d40b32bb2540c0dbc31ff4f1.tar.bz2 plus-08507b9d5b3e16f8d40b32bb2540c0dbc31ff4f1.tar.xz plus-08507b9d5b3e16f8d40b32bb2540c0dbc31ff4f1.zip |
Move chat related actions into separate file.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 8e1293856..142eea6e1 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -268,41 +268,6 @@ impHandler(shortcut) return false; } -impHandler0(toggleChat) -{ - return chatWindow ? chatWindow->requestChatFocus() : false; -} - -impHandler0(prevChatTab) -{ - if (chatWindow) - { - chatWindow->prevTab(); - return true; - } - return false; -} - -impHandler0(nextChatTab) -{ - if (chatWindow) - { - chatWindow->nextTab(); - return true; - } - return false; -} - -impHandler0(closeChatTab) -{ - if (chatWindow) - { - chatWindow->closeTab(); - return true; - } - return false; -} - impHandler0(prevSocialTab) { if (socialWindow) @@ -323,26 +288,6 @@ impHandler0(nextSocialTab) return false; } -impHandler0(scrollChatUp) -{ - if (chatWindow && chatWindow->isWindowVisible()) - { - chatWindow->scroll(-DEFAULT_CHAT_WINDOW_SCROLL); - return true; - } - return false; -} - -impHandler0(scrollChatDown) -{ - if (chatWindow && chatWindow->isWindowVisible()) - { - chatWindow->scroll(DEFAULT_CHAT_WINDOW_SCROLL); - return true; - } - return false; -} - impHandler0(quit) { if (!Game::instance()) |