Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
eclipse
GitHub Repository: eclipse/sumo
Path: blob/main/src/utils/gui/shortcuts/GUIShortcuts.h
169684 views
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3
// Copyright (C) 2001-2025 German Aerospace Center (DLR) and others.
4
// This program and the accompanying materials are made available under the
5
// terms of the Eclipse Public License 2.0 which is available at
6
// https://www.eclipse.org/legal/epl-2.0/
7
// This Source Code may also be made available under the following Secondary
8
// Licenses when the conditions for such availability set forth in the Eclipse
9
// Public License 2.0 are satisfied: GNU General Public License, version 2
10
// or later which is available at
11
// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13
/****************************************************************************/
14
/// @file GUIShortcuts.h
15
/// @author Pablo Alvarez Lopez
16
/// @date Feb 2019
17
///
18
// An enumeration of shortcuts used by the gui applications
19
/****************************************************************************/
20
#pragma once
21
#include <config.h>
22
23
24
// ===========================================================================
25
// enumerations
26
// ===========================================================================
27
/**
28
* @enum GUIShortcut
29
* @brief An enumeration of Shortcuts used by the gui applications
30
*/
31
enum GUIShortcut {
32
KEY_0,
33
KEY_1,
34
KEY_2,
35
KEY_3,
36
KEY_4,
37
KEY_5,
38
KEY_6,
39
KEY_7,
40
KEY_8,
41
KEY_9,
42
43
KEY_a,
44
KEY_b,
45
KEY_c,
46
KEY_d,
47
KEY_e,
48
KEY_f,
49
KEY_g,
50
KEY_h,
51
KEY_i,
52
KEY_j,
53
KEY_k,
54
KEY_l,
55
KEY_m,
56
KEY_n,
57
KEY_o,
58
KEY_p,
59
KEY_q,
60
KEY_r,
61
KEY_s,
62
KEY_t,
63
KEY_u,
64
KEY_v,
65
KEY_w,
66
KEY_x,
67
KEY_y,
68
KEY_z,
69
70
KEY_A,
71
KEY_B,
72
KEY_C,
73
KEY_D,
74
KEY_E,
75
KEY_F,
76
KEY_G,
77
KEY_H,
78
KEY_I,
79
KEY_J,
80
KEY_K,
81
KEY_L,
82
KEY_M,
83
KEY_N,
84
KEY_O,
85
KEY_P,
86
KEY_Q,
87
KEY_R,
88
KEY_S,
89
KEY_T,
90
KEY_U,
91
KEY_V,
92
KEY_W,
93
KEY_X,
94
KEY_Y,
95
KEY_Z,
96
97
KEY_SPACE,
98
99
KEY_F1,
100
KEY_F2,
101
KEY_F3,
102
KEY_F4,
103
KEY_F5,
104
KEY_F6,
105
KEY_F7,
106
KEY_F8,
107
KEY_F9,
108
KEY_F10,
109
KEY_F11,
110
KEY_F12,
111
112
KEY_ESC,
113
KEY_ENTER,
114
KEY_BACKSPACE,
115
KEY_DEL,
116
};
117
118
119
enum GUIShortcutModifier {
120
KEYMODIFIER_SHIFT,
121
KEYMODIFIER_ALT,
122
KEYMODIFIER_CONTROL
123
};
124
125