ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
core
base
inc
KeySymbols.h
Go to the documentation of this file.
1
/* @(#)root/base:$Id$ */
2
3
/*************************************************************************
4
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
#ifndef ROOT_KeySymbols
12
#define ROOT_KeySymbols
13
14
15
//////////////////////////////////////////////////////////////////////////
16
// //
17
// KeySymbols //
18
// //
19
// Key symbols used by the GUI classes. //
20
// //
21
//////////////////////////////////////////////////////////////////////////
22
23
#ifndef ROOT_GuiTypes
24
#include "
GuiTypes.h
"
25
#endif
26
27
enum
EKeySym
{
28
kKey_Escape
= 0x1000,
// misc keys
29
kKey_Tab
= 0x1001,
30
kKey_Backtab
= 0x1002,
31
kKey_Backspace
= 0x1003,
32
kKey_Return
= 0x1004,
33
kKey_Enter
= 0x1005,
34
kKey_Insert
= 0x1006,
35
kKey_Delete
= 0x1007,
36
kKey_Pause
= 0x1008,
37
kKey_Print
= 0x1009,
38
kKey_SysReq
= 0x100a,
39
40
kKey_Home
= 0x1010,
// cursor movement
41
kKey_End
= 0x1011,
42
kKey_Left
= 0x1012,
43
kKey_Up
= 0x1013,
44
kKey_Right
= 0x1014,
45
kKey_Down
= 0x1015,
46
kKey_Prior
= 0x1016,
47
kKey_PageUp
=
kKey_Prior
,
48
kKey_Next
= 0x1017,
49
kKey_PageDown
=
kKey_Next
,
50
51
kKey_Shift
= 0x1020,
// modifiers
52
kKey_Control
= 0x1021,
53
kKey_Meta
= 0x1022,
54
kKey_Alt
= 0x1023,
55
kKey_CapsLock
= 0x1024,
56
kKey_NumLock
= 0x1025,
57
kKey_ScrollLock
= 0x1026,
58
59
kKey_F1
= 0x1030,
// function keys
60
kKey_F2
= 0x1031,
61
kKey_F3
= 0x1032,
62
kKey_F4
= 0x1033,
63
kKey_F5
= 0x1034,
64
kKey_F6
= 0x1035,
65
kKey_F7
= 0x1036,
66
kKey_F8
= 0x1037,
67
kKey_F9
= 0x1038,
68
kKey_F10
= 0x1039,
69
kKey_F11
= 0x103a,
70
kKey_F12
= 0x103b,
71
kKey_F13
= 0x103c,
72
kKey_F14
= 0x103d,
73
kKey_F15
= 0x103e,
74
kKey_F16
= 0x103f,
75
kKey_F17
= 0x1040,
76
kKey_F18
= 0x1041,
77
kKey_F19
= 0x1042,
78
kKey_F20
= 0x1043,
79
kKey_F21
= 0x1044,
80
kKey_F22
= 0x1045,
81
kKey_F23
= 0x1046,
82
kKey_F24
= 0x1047,
83
kKey_F25
= 0x1048,
// F25 .. F35 only on X11
84
kKey_F26
= 0x1049,
85
kKey_F27
= 0x104a,
86
kKey_F28
= 0x104b,
87
kKey_F29
= 0x104c,
88
kKey_F30
= 0x104d,
89
kKey_F31
= 0x104e,
90
kKey_F32
= 0x104f,
91
kKey_F33
= 0x1050,
92
kKey_F34
= 0x1051,
93
kKey_F35
= 0x1052,
94
95
kKey_Space
= 0x20,
// 7 bit printable ASCII, for convenience
96
kKey_Exclam
= 0x21,
// they map straight to ASCII
97
kKey_QuoteDbl
= 0x22,
98
kKey_NumberSign
= 0x23,
99
kKey_Dollar
= 0x24,
100
kKey_Percent
= 0x25,
101
kKey_Ampersand
= 0x26,
102
kKey_Apostrophe
= 0x27,
103
kKey_ParenLeft
= 0x28,
104
kKey_ParenRight
= 0x29,
105
kKey_Asterisk
= 0x2a,
106
kKey_Plus
= 0x2b,
107
kKey_Comma
= 0x2c,
108
kKey_Minus
= 0x2d,
109
kKey_Period
= 0x2e,
110
kKey_Slash
= 0x2f,
111
kKey_0
= 0x30,
112
kKey_1
= 0x31,
113
kKey_2
= 0x32,
114
kKey_3
= 0x33,
115
kKey_4
= 0x34,
116
kKey_5
= 0x35,
117
kKey_6
= 0x36,
118
kKey_7
= 0x37,
119
kKey_8
= 0x38,
120
kKey_9
= 0x39,
121
kKey_Colon
= 0x3a,
122
kKey_Semicolon
= 0x3b,
123
kKey_Less
= 0x3c,
124
kKey_Equal
= 0x3d,
125
kKey_Greater
= 0x3e,
126
kKey_Question
= 0x3f,
127
kKey_At
= 0x40,
128
kKey_A
= 0x41,
129
kKey_B
= 0x42,
130
kKey_C
= 0x43,
131
kKey_D
= 0x44,
132
kKey_E
= 0x45,
133
kKey_F
= 0x46,
134
kKey_G
= 0x47,
135
kKey_H
= 0x48,
136
kKey_I
= 0x49,
137
kKey_J
= 0x4a,
138
kKey_K
= 0x4b,
139
kKey_L
= 0x4c,
140
kKey_M
= 0x4d,
141
kKey_N
= 0x4e,
142
kKey_O
= 0x4f,
143
kKey_P
= 0x50,
144
kKey_Q
= 0x51,
145
kKey_R
= 0x52,
146
kKey_S
= 0x53,
147
kKey_T
= 0x54,
148
kKey_U
= 0x55,
149
kKey_V
= 0x56,
150
kKey_W
= 0x57,
151
kKey_X
= 0x58,
152
kKey_Y
= 0x59,
153
kKey_Z
= 0x5a,
154
kKey_BracketLeft
= 0x5b,
155
kKey_Backslash
= 0x5c,
156
kKey_BracketRight
= 0x5d,
157
kKey_AsciiCircum
= 0x5e,
158
kKey_Underscore
= 0x5f,
159
kKey_QuoteLeft
= 0x60,
160
kKey_a
= 0x61,
161
kKey_b
= 0x62,
162
kKey_c
= 0x63,
163
kKey_d
= 0x64,
164
kKey_e
= 0x65,
165
kKey_f
= 0x66,
166
kKey_g
= 0x67,
167
kKey_h
= 0x68,
168
kKey_i
= 0x69,
169
kKey_j
= 0x6a,
170
kKey_k
= 0x6b,
171
kKey_l
= 0x6c,
172
kKey_m
= 0x6d,
173
kKey_n
= 0x6e,
174
kKey_o
= 0x6f,
175
kKey_p
= 0x70,
176
kKey_q
= 0x71,
177
kKey_r
= 0x72,
178
kKey_s
= 0x73,
179
kKey_t
= 0x74,
180
kKey_u
= 0x75,
181
kKey_v
= 0x76,
182
kKey_w
= 0x77,
183
kKey_x
= 0x78,
184
kKey_y
= 0x79,
185
kKey_z
= 0x7a,
186
kKey_BraceLeft
= 0x7b,
187
kKey_Bar
= 0x7c,
188
kKey_BraceRight
= 0x7d,
189
kKey_AsciiTilde
= 0x7e,
190
191
kKey_Unknown
= 0xffff,
192
193
kAnyKey
= 0
// maps to any key, used by GrabKey()
194
};
195
196
#endif
kKey_Exclam
Definition:
KeySymbols.h:96
kKey_Enter
Definition:
KeySymbols.h:33
kKey_F25
Definition:
KeySymbols.h:83
kKey_BraceRight
Definition:
KeySymbols.h:188
kKey_F29
Definition:
KeySymbols.h:87
kKey_Backtab
Definition:
KeySymbols.h:30
kKey_F31
Definition:
KeySymbols.h:89
kKey_j
Definition:
KeySymbols.h:169
kKey_r
Definition:
KeySymbols.h:177
kKey_D
Definition:
KeySymbols.h:131
kKey_G
Definition:
KeySymbols.h:134
kKey_Greater
Definition:
KeySymbols.h:125
kKey_t
Definition:
KeySymbols.h:179
kKey_Semicolon
Definition:
KeySymbols.h:122
kKey_F15
Definition:
KeySymbols.h:73
kKey_Down
Definition:
KeySymbols.h:45
kKey_F11
Definition:
KeySymbols.h:69
kKey_Pause
Definition:
KeySymbols.h:36
kKey_Slash
Definition:
KeySymbols.h:110
kKey_F17
Definition:
KeySymbols.h:75
kKey_f
Definition:
KeySymbols.h:165
kKey_F8
Definition:
KeySymbols.h:66
kKey_U
Definition:
KeySymbols.h:148
kKey_g
Definition:
KeySymbols.h:166
kKey_Less
Definition:
KeySymbols.h:123
kKey_Insert
Definition:
KeySymbols.h:34
kKey_QuoteDbl
Definition:
KeySymbols.h:97
kKey_F32
Definition:
KeySymbols.h:90
kKey_End
Definition:
KeySymbols.h:41
kKey_7
Definition:
KeySymbols.h:118
kKey_SysReq
Definition:
KeySymbols.h:38
kKey_Dollar
Definition:
KeySymbols.h:99
kKey_Next
Definition:
KeySymbols.h:48
kKey_B
Definition:
KeySymbols.h:129
kKey_S
Definition:
KeySymbols.h:146
kKey_u
Definition:
KeySymbols.h:180
kKey_9
Definition:
KeySymbols.h:120
kKey_Comma
Definition:
KeySymbols.h:107
kKey_F2
Definition:
KeySymbols.h:60
kKey_Home
Definition:
KeySymbols.h:40
kKey_Y
Definition:
KeySymbols.h:152
kKey_M
Definition:
KeySymbols.h:140
kKey_F14
Definition:
KeySymbols.h:72
kKey_Ampersand
Definition:
KeySymbols.h:101
kKey_Prior
Definition:
KeySymbols.h:46
kKey_8
Definition:
KeySymbols.h:119
kKey_F3
Definition:
KeySymbols.h:61
kKey_F22
Definition:
KeySymbols.h:80
kKey_i
Definition:
KeySymbols.h:168
kKey_Period
Definition:
KeySymbols.h:109
kKey_c
Definition:
KeySymbols.h:162
kKey_Unknown
Definition:
KeySymbols.h:191
kKey_0
Definition:
KeySymbols.h:111
kKey_N
Definition:
KeySymbols.h:141
kKey_F19
Definition:
KeySymbols.h:77
kKey_F4
Definition:
KeySymbols.h:62
kKey_ParenRight
Definition:
KeySymbols.h:104
kKey_R
Definition:
KeySymbols.h:145
kKey_v
Definition:
KeySymbols.h:181
kKey_J
Definition:
KeySymbols.h:137
kKey_F23
Definition:
KeySymbols.h:81
kKey_F
Definition:
KeySymbols.h:133
kKey_C
Definition:
KeySymbols.h:130
kKey_5
Definition:
KeySymbols.h:116
kKey_Delete
Definition:
KeySymbols.h:35
kKey_m
Definition:
KeySymbols.h:172
kKey_F9
Definition:
KeySymbols.h:67
kKey_F35
Definition:
KeySymbols.h:93
kKey_F16
Definition:
KeySymbols.h:74
kKey_Up
Definition:
KeySymbols.h:43
kKey_K
Definition:
KeySymbols.h:138
kKey_F5
Definition:
KeySymbols.h:63
kKey_F12
Definition:
KeySymbols.h:70
kKey_Colon
Definition:
KeySymbols.h:121
kKey_F27
Definition:
KeySymbols.h:85
kKey_Q
Definition:
KeySymbols.h:144
kKey_F18
Definition:
KeySymbols.h:76
kKey_Question
Definition:
KeySymbols.h:126
kKey_Right
Definition:
KeySymbols.h:44
kKey_Equal
Definition:
KeySymbols.h:124
kKey_Z
Definition:
KeySymbols.h:153
kKey_o
Definition:
KeySymbols.h:174
kKey_BraceLeft
Definition:
KeySymbols.h:186
kKey_Return
Definition:
KeySymbols.h:32
kKey_1
Definition:
KeySymbols.h:112
kKey_3
Definition:
KeySymbols.h:114
kKey_F10
Definition:
KeySymbols.h:68
kAnyKey
Definition:
KeySymbols.h:193
kKey_Alt
Definition:
KeySymbols.h:54
kKey_F1
Definition:
KeySymbols.h:59
kKey_Plus
Definition:
KeySymbols.h:106
kKey_b
Definition:
KeySymbols.h:161
kKey_AsciiCircum
Definition:
KeySymbols.h:157
kKey_Escape
Definition:
KeySymbols.h:28
kKey_Shift
Definition:
KeySymbols.h:51
kKey_V
Definition:
KeySymbols.h:149
kKey_Bar
Definition:
KeySymbols.h:187
kKey_W
Definition:
KeySymbols.h:150
kKey_2
Definition:
KeySymbols.h:113
kKey_F30
Definition:
KeySymbols.h:88
kKey_F6
Definition:
KeySymbols.h:64
kKey_Backslash
Definition:
KeySymbols.h:155
kKey_E
Definition:
KeySymbols.h:132
kKey_d
Definition:
KeySymbols.h:163
kKey_P
Definition:
KeySymbols.h:143
GuiTypes.h
kKey_Meta
Definition:
KeySymbols.h:53
kKey_CapsLock
Definition:
KeySymbols.h:55
kKey_Backspace
Definition:
KeySymbols.h:31
EKeySym
EKeySym
Definition:
KeySymbols.h:27
kKey_p
Definition:
KeySymbols.h:175
kKey_F13
Definition:
KeySymbols.h:71
kKey_I
Definition:
KeySymbols.h:136
kKey_X
Definition:
KeySymbols.h:151
kKey_O
Definition:
KeySymbols.h:142
kKey_a
Definition:
KeySymbols.h:160
kKey_6
Definition:
KeySymbols.h:117
kKey_x
Definition:
KeySymbols.h:183
kKey_F33
Definition:
KeySymbols.h:91
kKey_y
Definition:
KeySymbols.h:184
kKey_Space
Definition:
KeySymbols.h:95
kKey_Print
Definition:
KeySymbols.h:37
kKey_At
Definition:
KeySymbols.h:127
kKey_w
Definition:
KeySymbols.h:182
kKey_F34
Definition:
KeySymbols.h:92
kKey_BracketLeft
Definition:
KeySymbols.h:154
kKey_H
Definition:
KeySymbols.h:135
kKey_e
Definition:
KeySymbols.h:164
kKey_F28
Definition:
KeySymbols.h:86
kKey_Left
Definition:
KeySymbols.h:42
kKey_Tab
Definition:
KeySymbols.h:29
kKey_Percent
Definition:
KeySymbols.h:100
kKey_QuoteLeft
Definition:
KeySymbols.h:159
kKey_q
Definition:
KeySymbols.h:176
kKey_AsciiTilde
Definition:
KeySymbols.h:189
kKey_F20
Definition:
KeySymbols.h:78
kKey_NumLock
Definition:
KeySymbols.h:56
kKey_k
Definition:
KeySymbols.h:170
kKey_F24
Definition:
KeySymbols.h:82
kKey_F21
Definition:
KeySymbols.h:79
kKey_ScrollLock
Definition:
KeySymbols.h:57
kKey_l
Definition:
KeySymbols.h:171
kKey_L
Definition:
KeySymbols.h:139
kKey_F7
Definition:
KeySymbols.h:65
kKey_BracketRight
Definition:
KeySymbols.h:156
kKey_Control
Definition:
KeySymbols.h:52
kKey_NumberSign
Definition:
KeySymbols.h:98
kKey_n
Definition:
KeySymbols.h:173
kKey_PageDown
Definition:
KeySymbols.h:49
kKey_PageUp
Definition:
KeySymbols.h:47
kKey_Asterisk
Definition:
KeySymbols.h:105
kKey_z
Definition:
KeySymbols.h:185
kKey_Minus
Definition:
KeySymbols.h:108
kKey_A
Definition:
KeySymbols.h:128
kKey_s
Definition:
KeySymbols.h:178
kKey_F26
Definition:
KeySymbols.h:84
kKey_4
Definition:
KeySymbols.h:115
kKey_Underscore
Definition:
KeySymbols.h:158
kKey_ParenLeft
Definition:
KeySymbols.h:103
kKey_Apostrophe
Definition:
KeySymbols.h:102
kKey_h
Definition:
KeySymbols.h:167
kKey_T
Definition:
KeySymbols.h:147