ManaPlus
src
input
pages
gui.cpp
Go to the documentation of this file.
1
/*
2
* The ManaPlus Client
3
* Copyright (C) 2011-2019 The ManaPlus Developers
4
* Copyright (C) 2019-2021 Andrei Karas
5
*
6
* This file is part of The ManaPlus Client.
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*/
21
22
#include "
gui/setupactiondata.h
"
23
24
#include "
utils/gettext.h
"
25
26
#include "
debug.h
"
27
28
SetupActionData
setupActionDataGui
[] =
29
{
30
{
31
// TRANSLATORS: input action name
32
N_
(
"Move & selection"
),
33
InputAction::NO_VALUE
,
34
""
,
35
},
36
{
37
// TRANSLATORS: input action name
38
N_
(
"Move Up"
),
39
InputAction::GUI_UP
,
40
""
,
41
},
42
{
43
// TRANSLATORS: input action name
44
N_
(
"Move Down"
),
45
InputAction::GUI_DOWN
,
46
""
,
47
},
48
{
49
// TRANSLATORS: input action name
50
N_
(
"Move Left"
),
51
InputAction::GUI_LEFT
,
52
""
,
53
},
54
{
55
// TRANSLATORS: input action name
56
N_
(
"Move Right"
),
57
InputAction::GUI_RIGHT
,
58
""
,
59
},
60
{
61
// TRANSLATORS: input action name
62
N_
(
"Move Home"
),
63
InputAction::GUI_HOME
,
64
""
,
65
},
66
{
67
// TRANSLATORS: input action name
68
N_
(
"Move End"
),
69
InputAction::GUI_END
,
70
""
,
71
},
72
{
73
// TRANSLATORS: input action name
74
N_
(
"Page up"
),
75
InputAction::GUI_PAGE_UP
,
76
""
,
77
},
78
{
79
// TRANSLATORS: input action name
80
N_
(
"Page down"
),
81
InputAction::GUI_PAGE_DOWN
,
82
""
,
83
},
84
{
85
// TRANSLATORS: input action name
86
N_
(
"Other"
),
87
InputAction::NO_VALUE
,
88
""
,
89
},
90
{
91
// TRANSLATORS: input action name
92
N_
(
"Select"
),
93
InputAction::GUI_SELECT
,
94
""
,
95
},
96
{
97
// TRANSLATORS: input action name
98
N_
(
"Select2"
),
99
InputAction::GUI_SELECT2
,
100
""
,
101
},
102
{
103
// TRANSLATORS: input action name
104
N_
(
"Cancel"
),
105
InputAction::GUI_CANCEL
,
106
""
,
107
},
108
{
109
// TRANSLATORS: input action name
110
N_
(
"Delete"
),
111
InputAction::GUI_DELETE
,
112
""
,
113
},
114
{
115
// TRANSLATORS: input action name
116
N_
(
"Backspace"
),
117
InputAction::GUI_BACKSPACE
,
118
""
,
119
},
120
{
121
// TRANSLATORS: input action name
122
N_
(
"Insert"
),
123
InputAction::GUI_INSERT
,
124
""
,
125
},
126
{
127
// TRANSLATORS: input action name
128
N_
(
"Tab"
),
129
InputAction::GUI_TAB
,
130
""
,
131
},
132
{
133
// TRANSLATORS: input action name
134
N_
(
"Mod"
),
135
InputAction::GUI_MOD
,
136
""
,
137
},
138
{
139
// TRANSLATORS: input action name
140
N_
(
"Ctrl"
),
141
InputAction::GUI_CTRL
,
142
""
,
143
},
144
{
145
"B"
,
146
InputAction::GUI_B
,
147
""
,
148
},
149
{
150
"C"
,
151
InputAction::GUI_C
,
152
""
,
153
},
154
{
155
"D"
,
156
InputAction::GUI_D
,
157
""
,
158
},
159
{
160
"E"
,
161
InputAction::GUI_E
,
162
""
,
163
},
164
{
165
"F"
,
166
InputAction::GUI_F
,
167
""
,
168
},
169
{
170
"H"
,
171
InputAction::GUI_H
,
172
""
,
173
},
174
{
175
"K"
,
176
InputAction::GUI_K
,
177
""
,
178
},
179
{
180
"U"
,
181
InputAction::GUI_U
,
182
""
,
183
},
184
{
185
"V"
,
186
InputAction::GUI_V
,
187
""
,
188
},
189
{
190
"W"
,
191
InputAction::GUI_W
,
192
""
,
193
},
194
{
195
""
,
196
InputAction::NO_VALUE
,
197
""
198
}
199
};
debug.h
gettext.h
N_
#define N_(s)
Definition:
gettext.h:36
setupActionDataGui
SetupActionData setupActionDataGui[]
Definition:
gui.cpp:28
InputAction::GUI_D
@ GUI_D
Definition:
inputaction.h:323
InputAction::GUI_INSERT
@ GUI_INSERT
Definition:
inputaction.h:312
InputAction::GUI_TAB
@ GUI_TAB
Definition:
inputaction.h:309
InputAction::GUI_E
@ GUI_E
Definition:
inputaction.h:324
InputAction::GUI_W
@ GUI_W
Definition:
inputaction.h:330
InputAction::GUI_F
@ GUI_F
Definition:
inputaction.h:325
InputAction::GUI_CANCEL
@ GUI_CANCEL
Definition:
inputaction.h:304
InputAction::GUI_PAGE_DOWN
@ GUI_PAGE_DOWN
Definition:
inputaction.h:311
InputAction::GUI_RIGHT
@ GUI_RIGHT
Definition:
inputaction.h:301
InputAction::GUI_SELECT
@ GUI_SELECT
Definition:
inputaction.h:302
InputAction::GUI_SELECT2
@ GUI_SELECT2
Definition:
inputaction.h:303
InputAction::GUI_DOWN
@ GUI_DOWN
Definition:
inputaction.h:299
InputAction::GUI_B
@ GUI_B
Definition:
inputaction.h:321
InputAction::GUI_H
@ GUI_H
Definition:
inputaction.h:326
InputAction::GUI_LEFT
@ GUI_LEFT
Definition:
inputaction.h:300
InputAction::GUI_K
@ GUI_K
Definition:
inputaction.h:327
InputAction::GUI_CTRL
@ GUI_CTRL
Definition:
inputaction.h:320
InputAction::GUI_UP
@ GUI_UP
Definition:
inputaction.h:298
InputAction::GUI_V
@ GUI_V
Definition:
inputaction.h:329
InputAction::GUI_MOD
@ GUI_MOD
Definition:
inputaction.h:313
InputAction::GUI_PAGE_UP
@ GUI_PAGE_UP
Definition:
inputaction.h:310
InputAction::GUI_C
@ GUI_C
Definition:
inputaction.h:322
InputAction::GUI_END
@ GUI_END
Definition:
inputaction.h:306
InputAction::GUI_BACKSPACE
@ GUI_BACKSPACE
Definition:
inputaction.h:308
InputAction::GUI_DELETE
@ GUI_DELETE
Definition:
inputaction.h:307
InputAction::GUI_U
@ GUI_U
Definition:
inputaction.h:328
InputAction::NO_VALUE
@ NO_VALUE
Definition:
inputaction.h:44
InputAction::GUI_HOME
@ GUI_HOME
Definition:
inputaction.h:305
setupactiondata.h
SetupActionData
Definition:
setupactiondata.h:35
Generated on Wed Mar 17 2021 19:19:06 for ManaPlus by
1.9.1