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

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














































366
};