ManaPlus
setupinputpages.cpp
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2007 Joshua Langley <[email protected]>
4  * Copyright (C) 2009 The Mana World Development Team
5  * Copyright (C) 2009-2010 The Mana Developers
6  * Copyright (C) 2011-2019 The ManaPlus Developers
7  * Copyright (C) 2019-2021 Andrei Karas
8  *
9  * This file is part of The ManaPlus Client.
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program. If not, see <http://www.gnu.org/licenses/>.
23  */
24 
25 #include "const/gui/pages.h"
26 
27 #include "gui/setupinputpages.h"
28 
29 #include "utils/gettext.h"
30 
31 #include "input/pages/basic.h"
32 #include "input/pages/chat.h"
33 #include "input/pages/craft.h"
34 #include "input/pages/emotes.h"
35 #include "input/pages/gui.h"
36 #include "input/pages/move.h"
37 #include "input/pages/other.h"
38 #include "input/pages/outfits.h"
39 #include "input/pages/shortcuts.h"
40 #include "input/pages/windows.h"
41 
42 #include "debug.h"
43 
44 const char *const pages[SETUP_PAGES + 1] =
45 {
46  // TRANSLATORS: input tab sub tab name
47  N_("Basic"),
48  // TRANSLATORS: input tab sub tab name
49  N_("Move"),
50  // TRANSLATORS: input tab sub tab name
51  N_("Shortcuts"),
52  // TRANSLATORS: input tab sub tab name
53  N_("Windows"),
54  // TRANSLATORS: input tab sub tab name
55  N_("Craft"),
56  // TRANSLATORS: input tab sub tab name
57  N_("Emotes"),
58  // TRANSLATORS: input tab sub tab name
59  N_("Outfits"),
60  // TRANSLATORS: input tab sub tab name
61  N_("Chat"),
62  // TRANSLATORS: input tab sub tab name
63  N_("Other"),
64  // TRANSLATORS: input tab sub tab name
65  N_("Gui"),
66  nullptr
67 };
68 
70 {
81 };
SetupActionData setupActionDataBasic[]
Definition: basic.cpp:31
SetupActionData setupActionDataCraft[]
Definition: craft.cpp:29
SetupActionData setupActionDataEmotes[]
Definition: emotes.cpp:32
#define N_(s)
Definition: gettext.h:36
SetupActionData setupActionDataChat[]
Definition: chat.cpp:28
SetupActionData setupActionDataGui[]
Definition: gui.cpp:28
SetupActionData setupActionDataMove[]
Definition: move.cpp:32
SetupActionData setupActionDataWindows[]
Definition: windows.cpp:31
SetupActionData setupActionDataOther[]
Definition: other.cpp:31
SetupActionData setupActionDataOutfits[]
Definition: outfits.cpp:32
const int SETUP_PAGES
Definition: pages.h:29
SetupActionData *const setupActionData[SETUP_PAGES]
const char *const pages[SETUP_PAGES+1]
SetupActionData setupActionDataShortcuts[]
Definition: shortcuts.cpp:32