GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/input/pages/gui.cpp Lines: 2 2 100.0 %
Date: 2021-03-17 Branches: 94 188 50.0 %

Line Branch Exec Source
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
2
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














































183
};