Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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#include "GuiTypes.h"
24
25enum EKeySym {
26 kKey_Escape = 0x1000, // misc keys
27 kKey_Tab = 0x1001,
28 kKey_Backtab = 0x1002,
30 kKey_Return = 0x1004,
31 kKey_Enter = 0x1005,
32 kKey_Insert = 0x1006,
33 kKey_Delete = 0x1007,
34 kKey_Pause = 0x1008,
35 kKey_Print = 0x1009,
36 kKey_SysReq = 0x100a,
37
38 kKey_Home = 0x1010, // cursor movement
39 kKey_End = 0x1011,
40 kKey_Left = 0x1012,
41 kKey_Up = 0x1013,
42 kKey_Right = 0x1014,
43 kKey_Down = 0x1015,
44 kKey_Prior = 0x1016,
46 kKey_Next = 0x1017,
48
49 kKey_Shift = 0x1020, // modifiers
50 kKey_Control = 0x1021,
51 kKey_Meta = 0x1022,
52 kKey_Alt = 0x1023,
53 kKey_CapsLock = 0x1024,
54 kKey_NumLock = 0x1025,
56
57 kKey_F1 = 0x1030, // function keys
58 kKey_F2 = 0x1031,
59 kKey_F3 = 0x1032,
60 kKey_F4 = 0x1033,
61 kKey_F5 = 0x1034,
62 kKey_F6 = 0x1035,
63 kKey_F7 = 0x1036,
64 kKey_F8 = 0x1037,
65 kKey_F9 = 0x1038,
66 kKey_F10 = 0x1039,
67 kKey_F11 = 0x103a,
68 kKey_F12 = 0x103b,
69 kKey_F13 = 0x103c,
70 kKey_F14 = 0x103d,
71 kKey_F15 = 0x103e,
72 kKey_F16 = 0x103f,
73 kKey_F17 = 0x1040,
74 kKey_F18 = 0x1041,
75 kKey_F19 = 0x1042,
76 kKey_F20 = 0x1043,
77 kKey_F21 = 0x1044,
78 kKey_F22 = 0x1045,
79 kKey_F23 = 0x1046,
80 kKey_F24 = 0x1047,
81 kKey_F25 = 0x1048, // F25 .. F35 only on X11
82 kKey_F26 = 0x1049,
83 kKey_F27 = 0x104a,
84 kKey_F28 = 0x104b,
85 kKey_F29 = 0x104c,
86 kKey_F30 = 0x104d,
87 kKey_F31 = 0x104e,
88 kKey_F32 = 0x104f,
89 kKey_F33 = 0x1050,
90 kKey_F34 = 0x1051,
91 kKey_F35 = 0x1052,
92
93 kKey_Space = 0x20, // 7 bit printable ASCII, for convenience
94 kKey_Exclam = 0x21, // they map straight to ASCII
104 kKey_Plus = 0x2b,
109 kKey_0 = 0x30,
110 kKey_1 = 0x31,
111 kKey_2 = 0x32,
112 kKey_3 = 0x33,
113 kKey_4 = 0x34,
114 kKey_5 = 0x35,
115 kKey_6 = 0x36,
116 kKey_7 = 0x37,
117 kKey_8 = 0x38,
118 kKey_9 = 0x39,
121 kKey_Less = 0x3c,
125 kKey_At = 0x40,
126 kKey_A = 0x41,
127 kKey_B = 0x42,
128 kKey_C = 0x43,
129 kKey_D = 0x44,
130 kKey_E = 0x45,
131 kKey_F = 0x46,
132 kKey_G = 0x47,
133 kKey_H = 0x48,
134 kKey_I = 0x49,
135 kKey_J = 0x4a,
136 kKey_K = 0x4b,
137 kKey_L = 0x4c,
138 kKey_M = 0x4d,
139 kKey_N = 0x4e,
140 kKey_O = 0x4f,
141 kKey_P = 0x50,
142 kKey_Q = 0x51,
143 kKey_R = 0x52,
144 kKey_S = 0x53,
145 kKey_T = 0x54,
146 kKey_U = 0x55,
147 kKey_V = 0x56,
148 kKey_W = 0x57,
149 kKey_X = 0x58,
150 kKey_Y = 0x59,
151 kKey_Z = 0x5a,
158 kKey_a = 0x61,
159 kKey_b = 0x62,
160 kKey_c = 0x63,
161 kKey_d = 0x64,
162 kKey_e = 0x65,
163 kKey_f = 0x66,
164 kKey_g = 0x67,
165 kKey_h = 0x68,
166 kKey_i = 0x69,
167 kKey_j = 0x6a,
168 kKey_k = 0x6b,
169 kKey_l = 0x6c,
170 kKey_m = 0x6d,
171 kKey_n = 0x6e,
172 kKey_o = 0x6f,
173 kKey_p = 0x70,
174 kKey_q = 0x71,
175 kKey_r = 0x72,
176 kKey_s = 0x73,
177 kKey_t = 0x74,
178 kKey_u = 0x75,
179 kKey_v = 0x76,
180 kKey_w = 0x77,
181 kKey_x = 0x78,
182 kKey_y = 0x79,
183 kKey_z = 0x7a,
185 kKey_Bar = 0x7c,
188
189 kKey_Unknown = 0xffff,
190
191 kAnyKey = 0 // maps to any key, used by GrabKey()
193
194#endif
EKeySym
Definition KeySymbols.h:25
@ kKey_Right
Definition KeySymbols.h:42
@ kKey_J
Definition KeySymbols.h:135
@ kKey_W
Definition KeySymbols.h:148
@ kKey_Q
Definition KeySymbols.h:142
@ kKey_Down
Definition KeySymbols.h:43
@ kKey_Unknown
Definition KeySymbols.h:189
@ kKey_P
Definition KeySymbols.h:141
@ kKey_G
Definition KeySymbols.h:132
@ kKey_F30
Definition KeySymbols.h:86
@ kKey_Meta
Definition KeySymbols.h:51
@ kKey_o
Definition KeySymbols.h:172
@ kKey_QuoteLeft
Definition KeySymbols.h:157
@ kKey_F15
Definition KeySymbols.h:71
@ kKey_Print
Definition KeySymbols.h:35
@ kKey_Space
Definition KeySymbols.h:93
@ kKey_5
Definition KeySymbols.h:114
@ kKey_F1
Definition KeySymbols.h:57
@ kKey_F24
Definition KeySymbols.h:80
@ kKey_Y
Definition KeySymbols.h:150
@ kKey_B
Definition KeySymbols.h:127
@ kKey_PageDown
Definition KeySymbols.h:47
@ kKey_ParenRight
Definition KeySymbols.h:102
@ kKey_F
Definition KeySymbols.h:131
@ kKey_F28
Definition KeySymbols.h:84
@ kKey_f
Definition KeySymbols.h:163
@ kKey_L
Definition KeySymbols.h:137
@ kKey_At
Definition KeySymbols.h:125
@ kKey_F9
Definition KeySymbols.h:65
@ kKey_N
Definition KeySymbols.h:139
@ kKey_F4
Definition KeySymbols.h:60
@ kKey_CapsLock
Definition KeySymbols.h:53
@ kKey_F5
Definition KeySymbols.h:61
@ kKey_F12
Definition KeySymbols.h:68
@ kKey_F6
Definition KeySymbols.h:62
@ kKey_F34
Definition KeySymbols.h:90
@ kKey_F29
Definition KeySymbols.h:85
@ kKey_F8
Definition KeySymbols.h:64
@ kKey_Up
Definition KeySymbols.h:41
@ kKey_Return
Definition KeySymbols.h:30
@ kKey_Alt
Definition KeySymbols.h:52
@ kKey_r
Definition KeySymbols.h:175
@ kKey_Bar
Definition KeySymbols.h:185
@ kKey_v
Definition KeySymbols.h:179
@ kKey_l
Definition KeySymbols.h:169
@ kKey_C
Definition KeySymbols.h:128
@ kKey_Next
Definition KeySymbols.h:46
@ kKey_Comma
Definition KeySymbols.h:105
@ kKey_ScrollLock
Definition KeySymbols.h:55
@ kKey_F23
Definition KeySymbols.h:79
@ kKey_Asterisk
Definition KeySymbols.h:103
@ kKey_j
Definition KeySymbols.h:167
@ kKey_Delete
Definition KeySymbols.h:33
@ kKey_0
Definition KeySymbols.h:109
@ kKey_O
Definition KeySymbols.h:140
@ kKey_2
Definition KeySymbols.h:111
@ kKey_BraceLeft
Definition KeySymbols.h:184
@ kKey_Prior
Definition KeySymbols.h:44
@ kKey_x
Definition KeySymbols.h:181
@ kKey_A
Definition KeySymbols.h:126
@ kKey_p
Definition KeySymbols.h:173
@ kKey_F3
Definition KeySymbols.h:59
@ kKey_AsciiCircum
Definition KeySymbols.h:155
@ kKey_Left
Definition KeySymbols.h:40
@ kKey_Escape
Definition KeySymbols.h:26
@ kKey_Underscore
Definition KeySymbols.h:156
@ kKey_F16
Definition KeySymbols.h:72
@ kKey_F26
Definition KeySymbols.h:82
@ kKey_BracketLeft
Definition KeySymbols.h:152
@ kKey_Shift
Definition KeySymbols.h:49
@ kKey_AsciiTilde
Definition KeySymbols.h:187
@ kKey_Exclam
Definition KeySymbols.h:94
@ kKey_6
Definition KeySymbols.h:115
@ kKey_E
Definition KeySymbols.h:130
@ kKey_Backspace
Definition KeySymbols.h:29
@ kAnyKey
Definition KeySymbols.h:191
@ kKey_F25
Definition KeySymbols.h:81
@ kKey_BraceRight
Definition KeySymbols.h:186
@ kKey_Z
Definition KeySymbols.h:151
@ kKey_T
Definition KeySymbols.h:145
@ kKey_4
Definition KeySymbols.h:113
@ kKey_D
Definition KeySymbols.h:129
@ kKey_y
Definition KeySymbols.h:182
@ kKey_X
Definition KeySymbols.h:149
@ kKey_Apostrophe
Definition KeySymbols.h:100
@ kKey_S
Definition KeySymbols.h:144
@ kKey_Home
Definition KeySymbols.h:38
@ kKey_1
Definition KeySymbols.h:110
@ kKey_3
Definition KeySymbols.h:112
@ kKey_U
Definition KeySymbols.h:146
@ kKey_z
Definition KeySymbols.h:183
@ kKey_F33
Definition KeySymbols.h:89
@ kKey_s
Definition KeySymbols.h:176
@ kKey_e
Definition KeySymbols.h:162
@ kKey_7
Definition KeySymbols.h:116
@ kKey_F35
Definition KeySymbols.h:91
@ kKey_Insert
Definition KeySymbols.h:32
@ kKey_w
Definition KeySymbols.h:180
@ kKey_Ampersand
Definition KeySymbols.h:99
@ kKey_F20
Definition KeySymbols.h:76
@ kKey_g
Definition KeySymbols.h:164
@ kKey_F22
Definition KeySymbols.h:78
@ kKey_8
Definition KeySymbols.h:117
@ kKey_Enter
Definition KeySymbols.h:31
@ kKey_c
Definition KeySymbols.h:160
@ kKey_Question
Definition KeySymbols.h:124
@ kKey_M
Definition KeySymbols.h:138
@ kKey_Semicolon
Definition KeySymbols.h:120
@ kKey_k
Definition KeySymbols.h:168
@ kKey_u
Definition KeySymbols.h:178
@ kKey_QuoteDbl
Definition KeySymbols.h:95
@ kKey_Plus
Definition KeySymbols.h:104
@ kKey_Control
Definition KeySymbols.h:50
@ kKey_Tab
Definition KeySymbols.h:27
@ kKey_t
Definition KeySymbols.h:177
@ kKey_9
Definition KeySymbols.h:118
@ kKey_Backslash
Definition KeySymbols.h:153
@ kKey_H
Definition KeySymbols.h:133
@ kKey_F14
Definition KeySymbols.h:70
@ kKey_i
Definition KeySymbols.h:166
@ kKey_Colon
Definition KeySymbols.h:119
@ kKey_Slash
Definition KeySymbols.h:108
@ kKey_R
Definition KeySymbols.h:143
@ kKey_Period
Definition KeySymbols.h:107
@ kKey_F32
Definition KeySymbols.h:88
@ kKey_Backtab
Definition KeySymbols.h:28
@ kKey_SysReq
Definition KeySymbols.h:36
@ kKey_End
Definition KeySymbols.h:39
@ kKey_Equal
Definition KeySymbols.h:122
@ kKey_F19
Definition KeySymbols.h:75
@ kKey_F18
Definition KeySymbols.h:74
@ kKey_a
Definition KeySymbols.h:158
@ kKey_NumLock
Definition KeySymbols.h:54
@ kKey_F27
Definition KeySymbols.h:83
@ kKey_Less
Definition KeySymbols.h:121
@ kKey_F2
Definition KeySymbols.h:58
@ kKey_q
Definition KeySymbols.h:174
@ kKey_F21
Definition KeySymbols.h:77
@ kKey_F17
Definition KeySymbols.h:73
@ kKey_F31
Definition KeySymbols.h:87
@ kKey_F13
Definition KeySymbols.h:69
@ kKey_PageUp
Definition KeySymbols.h:45
@ kKey_Pause
Definition KeySymbols.h:34
@ kKey_h
Definition KeySymbols.h:165
@ kKey_Minus
Definition KeySymbols.h:106
@ kKey_Dollar
Definition KeySymbols.h:97
@ kKey_d
Definition KeySymbols.h:161
@ kKey_F11
Definition KeySymbols.h:67
@ kKey_ParenLeft
Definition KeySymbols.h:101
@ kKey_K
Definition KeySymbols.h:136
@ kKey_b
Definition KeySymbols.h:159
@ kKey_BracketRight
Definition KeySymbols.h:154
@ kKey_V
Definition KeySymbols.h:147
@ kKey_Percent
Definition KeySymbols.h:98
@ kKey_F7
Definition KeySymbols.h:63
@ kKey_m
Definition KeySymbols.h:170
@ kKey_n
Definition KeySymbols.h:171
@ kKey_Greater
Definition KeySymbols.h:123
@ kKey_NumberSign
Definition KeySymbols.h:96
@ kKey_F10
Definition KeySymbols.h:66
@ kKey_I
Definition KeySymbols.h:134