diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-22 23:05:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-22 23:05:57 +0300 |
commit | a8a7d6dcfc39c3c6c2faa23de21d0a5fc9332818 (patch) | |
tree | a57969ad30c4755b207ae029bd1d0362ffe31292 /src/input/pages/chat.cpp | |
parent | c98b8c1a210a2f3f6846e9e77077d0a968bcb9af (diff) | |
download | plus-a8a7d6dcfc39c3c6c2faa23de21d0a5fc9332818.tar.gz plus-a8a7d6dcfc39c3c6c2faa23de21d0a5fc9332818.tar.bz2 plus-a8a7d6dcfc39c3c6c2faa23de21d0a5fc9332818.tar.xz plus-a8a7d6dcfc39c3c6c2faa23de21d0a5fc9332818.zip |
Move options for chat input settings page into separate file.
Diffstat (limited to 'src/input/pages/chat.cpp')
-rw-r--r-- | src/input/pages/chat.cpp | 156 |
1 files changed, 156 insertions, 0 deletions
diff --git a/src/input/pages/chat.cpp b/src/input/pages/chat.cpp new file mode 100644 index 000000000..486f882d2 --- /dev/null +++ b/src/input/pages/chat.cpp @@ -0,0 +1,156 @@ +/* + * The ManaPlus Client + * Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au> + * Copyright (C) 2009 The Mana World Development Team + * Copyright (C) 2009-2010 The Mana Developers + * Copyright (C) 2011-2014 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "gui/setupactiondata.h" + +#include "input/inputaction.h" +#include "input/inputactiondata.h" + +#include "utils/gettext.h" +#include "utils/stringutils.h" + +#include "debug.h" + +SetupActionData setupActionDataChat[] = +{ + { + // TRANSLATORS: input action name + N_("Toggle Chat"), + InputAction::TOGGLE_CHAT, + "", + }, + { + // TRANSLATORS: input action name + N_("Scroll Chat Up"), + InputAction::SCROLL_CHAT_UP, + "", + }, + { + // TRANSLATORS: input action name + N_("Scroll Chat Down"), + InputAction::SCROLL_CHAT_DOWN, + "", + }, + { + // TRANSLATORS: input action name + N_("Previous Chat Tab"), + InputAction::PREV_CHAT_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Next Chat Tab"), + InputAction::NEXT_CHAT_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Close current Chat Tab"), + InputAction::CLOSE_CHAT_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Previous chat line"), + InputAction::CHAT_PREV_HISTORY, + "", + }, + { + // TRANSLATORS: input action name + N_("Next chat line"), + InputAction::CHAT_NEXT_HISTORY, + "", + }, + { + // TRANSLATORS: input action name + N_("Chat modifier key"), + InputAction::CHAT_MOD, + "", + }, + { + // TRANSLATORS: input action name + N_("Show smiles"), + InputAction::GUI_F1, + "", + }, + { + "F2", + InputAction::GUI_F2, + "", + }, + { + "F3", + InputAction::GUI_F3, + "", + }, + { + "F4", + InputAction::GUI_F4, + "", + }, + { + "F5", + InputAction::GUI_F5, + "", + }, + { + "F6", + InputAction::GUI_F6, + "", + }, + { + "F7", + InputAction::GUI_F7, + "", + }, + { + "F8", + InputAction::GUI_F8, + "", + }, + { + "F9", + InputAction::GUI_F9, + "", + }, + { + "F10", + InputAction::GUI_F10, + "", + }, + { + "F11", + InputAction::GUI_F11, + "", + }, + { + "F12", + InputAction::GUI_F12, + "", + }, + { + "", + InputAction::NO_VALUE, + "" + } +}; |