line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyright 2011, 2012, 2013, 2014 Kevin Ryde |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# This file is part of X11-Protocol-Other. |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# X11-Protocol-Other is free software; you can redistribute it and/or modify |
6
|
|
|
|
|
|
|
# it under the terms of the GNU General Public License as published by the |
7
|
|
|
|
|
|
|
# Free Software Foundation; either version 3, or (at your option) any later |
8
|
|
|
|
|
|
|
# version. |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# X11-Protocol-Other is distributed in the hope that it will be useful, but |
11
|
|
|
|
|
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
12
|
|
|
|
|
|
|
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
13
|
|
|
|
|
|
|
# for more details. |
14
|
|
|
|
|
|
|
# |
15
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License along |
16
|
|
|
|
|
|
|
# with X11-Protocol-Other. If not, see . |
17
|
|
|
|
|
|
|
|
18
|
7
|
|
|
7
|
|
15995
|
BEGIN { require 5 } |
19
|
|
|
|
|
|
|
package X11::AtomConstants; |
20
|
7
|
|
|
7
|
|
21
|
use strict; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
106
|
|
21
|
7
|
|
|
7
|
|
19
|
use Exporter; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
200
|
|
22
|
7
|
|
|
7
|
|
23
|
use vars '$VERSION', '@ISA', '@EXPORT_OK', '%EXPORT_TAGS'; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
811
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
$VERSION = 30; |
25
|
|
|
|
|
|
|
@ISA = ('Exporter'); |
26
|
|
|
|
|
|
|
%EXPORT_TAGS = (all => \@EXPORT_OK); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
# List generated by |
29
|
|
|
|
|
|
|
# (shell-command "perl -n -e '/define XA_([^ ]*).*?([0-9]+)/ and print \" $1\n\"'
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
@EXPORT_OK = |
32
|
|
|
|
|
|
|
(qw( |
33
|
|
|
|
|
|
|
PRIMARY |
34
|
|
|
|
|
|
|
SECONDARY |
35
|
|
|
|
|
|
|
ARC |
36
|
|
|
|
|
|
|
ATOM |
37
|
|
|
|
|
|
|
BITMAP |
38
|
|
|
|
|
|
|
CARDINAL |
39
|
|
|
|
|
|
|
COLORMAP |
40
|
|
|
|
|
|
|
CURSOR |
41
|
|
|
|
|
|
|
CUT_BUFFER0 |
42
|
|
|
|
|
|
|
CUT_BUFFER1 |
43
|
|
|
|
|
|
|
CUT_BUFFER2 |
44
|
|
|
|
|
|
|
CUT_BUFFER3 |
45
|
|
|
|
|
|
|
CUT_BUFFER4 |
46
|
|
|
|
|
|
|
CUT_BUFFER5 |
47
|
|
|
|
|
|
|
CUT_BUFFER6 |
48
|
|
|
|
|
|
|
CUT_BUFFER7 |
49
|
|
|
|
|
|
|
DRAWABLE |
50
|
|
|
|
|
|
|
FONT |
51
|
|
|
|
|
|
|
INTEGER |
52
|
|
|
|
|
|
|
PIXMAP |
53
|
|
|
|
|
|
|
POINT |
54
|
|
|
|
|
|
|
RECTANGLE |
55
|
|
|
|
|
|
|
RESOURCE_MANAGER |
56
|
|
|
|
|
|
|
RGB_COLOR_MAP |
57
|
|
|
|
|
|
|
RGB_BEST_MAP |
58
|
|
|
|
|
|
|
RGB_BLUE_MAP |
59
|
|
|
|
|
|
|
RGB_DEFAULT_MAP |
60
|
|
|
|
|
|
|
RGB_GRAY_MAP |
61
|
|
|
|
|
|
|
RGB_GREEN_MAP |
62
|
|
|
|
|
|
|
RGB_RED_MAP |
63
|
|
|
|
|
|
|
STRING |
64
|
|
|
|
|
|
|
VISUALID |
65
|
|
|
|
|
|
|
WINDOW |
66
|
|
|
|
|
|
|
WM_COMMAND |
67
|
|
|
|
|
|
|
WM_HINTS |
68
|
|
|
|
|
|
|
WM_CLIENT_MACHINE |
69
|
|
|
|
|
|
|
WM_ICON_NAME |
70
|
|
|
|
|
|
|
WM_ICON_SIZE |
71
|
|
|
|
|
|
|
WM_NAME |
72
|
|
|
|
|
|
|
WM_NORMAL_HINTS |
73
|
|
|
|
|
|
|
WM_SIZE_HINTS |
74
|
|
|
|
|
|
|
WM_ZOOM_HINTS |
75
|
|
|
|
|
|
|
MIN_SPACE |
76
|
|
|
|
|
|
|
NORM_SPACE |
77
|
|
|
|
|
|
|
MAX_SPACE |
78
|
|
|
|
|
|
|
END_SPACE |
79
|
|
|
|
|
|
|
SUPERSCRIPT_X |
80
|
|
|
|
|
|
|
SUPERSCRIPT_Y |
81
|
|
|
|
|
|
|
SUBSCRIPT_X |
82
|
|
|
|
|
|
|
SUBSCRIPT_Y |
83
|
|
|
|
|
|
|
UNDERLINE_POSITION |
84
|
|
|
|
|
|
|
UNDERLINE_THICKNESS |
85
|
|
|
|
|
|
|
STRIKEOUT_ASCENT |
86
|
|
|
|
|
|
|
STRIKEOUT_DESCENT |
87
|
|
|
|
|
|
|
ITALIC_ANGLE |
88
|
|
|
|
|
|
|
X_HEIGHT |
89
|
|
|
|
|
|
|
QUAD_WIDTH |
90
|
|
|
|
|
|
|
WEIGHT |
91
|
|
|
|
|
|
|
POINT_SIZE |
92
|
|
|
|
|
|
|
RESOLUTION |
93
|
|
|
|
|
|
|
COPYRIGHT |
94
|
|
|
|
|
|
|
NOTICE |
95
|
|
|
|
|
|
|
FONT_NAME |
96
|
|
|
|
|
|
|
FAMILY_NAME |
97
|
|
|
|
|
|
|
FULL_NAME |
98
|
|
|
|
|
|
|
CAP_HEIGHT |
99
|
|
|
|
|
|
|
WM_CLASS |
100
|
|
|
|
|
|
|
WM_TRANSIENT_FOR |
101
|
|
|
|
|
|
|
LAST_PREDEFINED |
102
|
|
|
|
|
|
|
)); |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
# List generated by |
106
|
|
|
|
|
|
|
# (shell-command "perl -n -e '/define XA_([^ ]*).*?([0-9]+)/ and print \"use constant $1 => $2;\n\"'
|
107
|
|
|
|
|
|
|
|
108
|
7
|
|
|
7
|
|
24
|
use constant PRIMARY => 1; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
416
|
|
109
|
7
|
|
|
7
|
|
22
|
use constant SECONDARY => 2; |
|
7
|
|
|
|
|
11
|
|
|
7
|
|
|
|
|
245
|
|
110
|
7
|
|
|
7
|
|
24
|
use constant ARC => 3; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
231
|
|
111
|
7
|
|
|
7
|
|
25
|
use constant ATOM => 4; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
253
|
|
112
|
7
|
|
|
7
|
|
23
|
use constant BITMAP => 5; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
269
|
|
113
|
7
|
|
|
7
|
|
26
|
use constant CARDINAL => 6; |
|
7
|
|
|
|
|
16
|
|
|
7
|
|
|
|
|
237
|
|
114
|
7
|
|
|
7
|
|
23
|
use constant COLORMAP => 7; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
259
|
|
115
|
7
|
|
|
7
|
|
22
|
use constant CURSOR => 8; |
|
7
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
245
|
|
116
|
7
|
|
|
7
|
|
20
|
use constant CUT_BUFFER0 => 9; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
217
|
|
117
|
7
|
|
|
7
|
|
20
|
use constant CUT_BUFFER1 => 10; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
219
|
|
118
|
7
|
|
|
7
|
|
25
|
use constant CUT_BUFFER2 => 11; |
|
7
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
269
|
|
119
|
7
|
|
|
7
|
|
21
|
use constant CUT_BUFFER3 => 12; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
214
|
|
120
|
7
|
|
|
7
|
|
20
|
use constant CUT_BUFFER4 => 13; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
202
|
|
121
|
7
|
|
|
7
|
|
19
|
use constant CUT_BUFFER5 => 14; |
|
7
|
|
|
|
|
28
|
|
|
7
|
|
|
|
|
245
|
|
122
|
7
|
|
|
7
|
|
20
|
use constant CUT_BUFFER6 => 15; |
|
7
|
|
|
|
|
5
|
|
|
7
|
|
|
|
|
201
|
|
123
|
7
|
|
|
7
|
|
18
|
use constant CUT_BUFFER7 => 16; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
209
|
|
124
|
7
|
|
|
7
|
|
33
|
use constant DRAWABLE => 17; |
|
7
|
|
|
|
|
5
|
|
|
7
|
|
|
|
|
202
|
|
125
|
7
|
|
|
7
|
|
19
|
use constant FONT => 18; |
|
7
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
205
|
|
126
|
7
|
|
|
7
|
|
25
|
use constant INTEGER => 19; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
217
|
|
127
|
7
|
|
|
7
|
|
21
|
use constant PIXMAP => 20; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
214
|
|
128
|
7
|
|
|
7
|
|
21
|
use constant POINT => 21; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
210
|
|
129
|
7
|
|
|
7
|
|
21
|
use constant RECTANGLE => 22; |
|
7
|
|
|
|
|
12
|
|
|
7
|
|
|
|
|
204
|
|
130
|
7
|
|
|
7
|
|
22
|
use constant RESOURCE_MANAGER => 23; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
266
|
|
131
|
7
|
|
|
7
|
|
21
|
use constant RGB_COLOR_MAP => 24; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
226
|
|
132
|
7
|
|
|
7
|
|
20
|
use constant RGB_BEST_MAP => 25; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
244
|
|
133
|
7
|
|
|
7
|
|
23
|
use constant RGB_BLUE_MAP => 26; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
215
|
|
134
|
7
|
|
|
7
|
|
20
|
use constant RGB_DEFAULT_MAP => 27; |
|
7
|
|
|
|
|
11
|
|
|
7
|
|
|
|
|
241
|
|
135
|
7
|
|
|
7
|
|
33
|
use constant RGB_GRAY_MAP => 28; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
230
|
|
136
|
7
|
|
|
7
|
|
22
|
use constant RGB_GREEN_MAP => 29; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
245
|
|
137
|
7
|
|
|
7
|
|
28
|
use constant RGB_RED_MAP => 30; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
241
|
|
138
|
7
|
|
|
7
|
|
21
|
use constant STRING => 31; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
223
|
|
139
|
7
|
|
|
7
|
|
31
|
use constant VISUALID => 32; |
|
7
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
208
|
|
140
|
7
|
|
|
7
|
|
21
|
use constant WINDOW => 33; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
209
|
|
141
|
7
|
|
|
7
|
|
20
|
use constant WM_COMMAND => 34; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
208
|
|
142
|
7
|
|
|
7
|
|
23
|
use constant WM_HINTS => 35; |
|
7
|
|
|
|
|
12
|
|
|
7
|
|
|
|
|
239
|
|
143
|
7
|
|
|
7
|
|
21
|
use constant WM_CLIENT_MACHINE => 36; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
253
|
|
144
|
7
|
|
|
7
|
|
19
|
use constant WM_ICON_NAME => 37; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
251
|
|
145
|
7
|
|
|
7
|
|
23
|
use constant WM_ICON_SIZE => 38; |
|
7
|
|
|
|
|
5
|
|
|
7
|
|
|
|
|
202
|
|
146
|
7
|
|
|
7
|
|
21
|
use constant WM_NAME => 39; |
|
7
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
240
|
|
147
|
7
|
|
|
7
|
|
22
|
use constant WM_NORMAL_HINTS => 40; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
214
|
|
148
|
7
|
|
|
7
|
|
21
|
use constant WM_SIZE_HINTS => 41; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
216
|
|
149
|
7
|
|
|
7
|
|
22
|
use constant WM_ZOOM_HINTS => 42; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
207
|
|
150
|
7
|
|
|
7
|
|
19
|
use constant MIN_SPACE => 43; |
|
7
|
|
|
|
|
10
|
|
|
7
|
|
|
|
|
216
|
|
151
|
7
|
|
|
7
|
|
20
|
use constant NORM_SPACE => 44; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
209
|
|
152
|
7
|
|
|
7
|
|
20
|
use constant MAX_SPACE => 45; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
220
|
|
153
|
7
|
|
|
7
|
|
20
|
use constant END_SPACE => 46; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
208
|
|
154
|
7
|
|
|
7
|
|
21
|
use constant SUPERSCRIPT_X => 47; |
|
7
|
|
|
|
|
4
|
|
|
7
|
|
|
|
|
986
|
|
155
|
7
|
|
|
7
|
|
23
|
use constant SUPERSCRIPT_Y => 48; |
|
7
|
|
|
|
|
3
|
|
|
7
|
|
|
|
|
234
|
|
156
|
7
|
|
|
7
|
|
24
|
use constant SUBSCRIPT_X => 49; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
288
|
|
157
|
7
|
|
|
7
|
|
23
|
use constant SUBSCRIPT_Y => 50; |
|
7
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
229
|
|
158
|
7
|
|
|
7
|
|
20
|
use constant UNDERLINE_POSITION => 51; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
267
|
|
159
|
7
|
|
|
7
|
|
27
|
use constant UNDERLINE_THICKNESS => 52; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
243
|
|
160
|
7
|
|
|
7
|
|
25
|
use constant STRIKEOUT_ASCENT => 53; |
|
7
|
|
|
|
|
24
|
|
|
7
|
|
|
|
|
250
|
|
161
|
7
|
|
|
7
|
|
23
|
use constant STRIKEOUT_DESCENT => 54; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
225
|
|
162
|
7
|
|
|
7
|
|
20
|
use constant ITALIC_ANGLE => 55; |
|
7
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
237
|
|
163
|
7
|
|
|
7
|
|
22
|
use constant X_HEIGHT => 56; |
|
7
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
227
|
|
164
|
7
|
|
|
7
|
|
64
|
use constant QUAD_WIDTH => 57; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
286
|
|
165
|
7
|
|
|
7
|
|
33
|
use constant WEIGHT => 58; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
255
|
|
166
|
7
|
|
|
7
|
|
26
|
use constant POINT_SIZE => 59; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
1001
|
|
167
|
7
|
|
|
7
|
|
25
|
use constant RESOLUTION => 60; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
238
|
|
168
|
7
|
|
|
7
|
|
26
|
use constant COPYRIGHT => 61; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
245
|
|
169
|
7
|
|
|
7
|
|
24
|
use constant NOTICE => 62; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
230
|
|
170
|
7
|
|
|
7
|
|
22
|
use constant FONT_NAME => 63; |
|
7
|
|
|
|
|
5
|
|
|
7
|
|
|
|
|
220
|
|
171
|
7
|
|
|
7
|
|
23
|
use constant FAMILY_NAME => 64; |
|
7
|
|
|
|
|
12
|
|
|
7
|
|
|
|
|
256
|
|
172
|
7
|
|
|
7
|
|
23
|
use constant FULL_NAME => 65; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
224
|
|
173
|
7
|
|
|
7
|
|
25
|
use constant CAP_HEIGHT => 66; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
234
|
|
174
|
7
|
|
|
7
|
|
22
|
use constant WM_CLASS => 67; |
|
7
|
|
|
|
|
5
|
|
|
7
|
|
|
|
|
251
|
|
175
|
7
|
|
|
7
|
|
38
|
use constant WM_TRANSIENT_FOR => 68; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
206
|
|
176
|
7
|
|
|
7
|
|
20
|
use constant LAST_PREDEFINED => 68; |
|
7
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
264
|
|
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
1; |
179
|
|
|
|
|
|
|
__END__ |