annotate semiconginev2/old/thirdparty/x11/xlib.nim @ 1218:56781cc0fc7c compiletime-tests

did: renamge main package
author sam <sam@basx.dev>
date Wed, 17 Jul 2024 21:01:37 +0700
parents semicongine/old/thirdparty/x11/xlib.nim@239adab121a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1191
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2 import
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
3 x
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
4
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
5 include "x11pragma.nim"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
6
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
7 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
8 cunsigned* = cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
9 Pcint* = ptr cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
10 PPcint* = ptr Pcint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
11 PPcuchar* = ptr ptr char
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
12 PWideChar* = ptr int16
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
13 PPChar* = ptr cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
14 PPPChar* = ptr ptr cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
15 Pculong* = ptr culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
16 Pcuchar* = cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
17 Pcuint* = ptr cuint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
18 Pcushort* = ptr uint16
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
19 # Automatically converted by H2Pas 0.99.15 from xlib.h
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
20 # The following command line parameters were used:
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
21 # -p
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
22 # -T
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
23 # -S
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
24 # -d
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
25 # -c
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
26 # xlib.h
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
27
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
28 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
29 XlibSpecificationRelease* = 6
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
30
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
31 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
32 PXPointer* = ptr XPointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
33 XPointer* = ptr char
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
34 PBool* = ptr XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
35 XBool* = cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
36 PStatus* = ptr Status
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
37 Status* = cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
38
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
39 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
40 QueuedAlready* = 0
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
41 QueuedAfterReading* = 1
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
42 QueuedAfterFlush* = 2
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
43
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
44 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
45 PPXExtData* = ptr PXExtData
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
46 PXExtData* = ptr XExtData
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
47 XExtData*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
48 number*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
49 next*: PXExtData
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
50 free_private*: proc (extension: PXExtData): cint{.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
51 private_data*: XPointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
52
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
53 PXExtCodes* = ptr XExtCodes
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
54 XExtCodes*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
55 extension*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
56 major_opcode*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
57 first_event*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
58 first_error*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
59
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
60 PXPixmapFormatValues* = ptr XPixmapFormatValues
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
61 XPixmapFormatValues*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
62 depth*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
63 bits_per_pixel*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
64 scanline_pad*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
65
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
66 PXGCValues* = ptr XGCValues
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
67 XGCValues*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
68 function*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
69 plane_mask*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
70 foreground*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
71 background*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
72 line_width*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
73 line_style*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
74 cap_style*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
75 join_style*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
76 fill_style*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
77 fill_rule*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
78 arc_mode*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
79 tile*: Pixmap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
80 stipple*: Pixmap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
81 ts_x_origin*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
82 ts_y_origin*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
83 font*: Font
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
84 subwindow_mode*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
85 graphics_exposures*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
86 clip_x_origin*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
87 clip_y_origin*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
88 clip_mask*: Pixmap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
89 dash_offset*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
90 dashes*: cchar
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
91
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
92 PXGC* = ptr XGC
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
93 XGC*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
94 GC* = PXGC
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
95 PGC* = ptr GC
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
96 PVisual* = ptr Visual
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
97 Visual*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
98 ext_data*: PXExtData
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
99 visualid*: VisualID
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
100 c_class*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
101 red_mask*, green_mask*, blue_mask*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
102 bits_per_rgb*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
103 map_entries*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
104
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
105 PDepth* = ptr Depth
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
106 Depth*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
107 depth*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
108 nvisuals*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
109 visuals*: PVisual
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
110
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
111 PXDisplay* = ptr XDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
112 XDisplay*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
113
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
114 PScreen* = ptr Screen
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
115 Screen*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
116 ext_data*: PXExtData
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
117 display*: PXDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
118 root*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
119 width*, height*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
120 mwidth*, mheight*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
121 ndepths*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
122 depths*: PDepth
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
123 root_depth*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
124 root_visual*: PVisual
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
125 default_gc*: GC
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
126 cmap*: Colormap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
127 white_pixel*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
128 black_pixel*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
129 max_maps*, min_maps*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
130 backing_store*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
131 save_unders*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
132 root_input_mask*: clong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
133
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
134 PScreenFormat* = ptr ScreenFormat
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
135 ScreenFormat*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
136 ext_data*: PXExtData
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
137 depth*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
138 bits_per_pixel*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
139 scanline_pad*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
140
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
141 PXSetWindowAttributes* = ptr XSetWindowAttributes
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
142 XSetWindowAttributes*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
143 background_pixmap*: Pixmap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
144 background_pixel*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
145 border_pixmap*: Pixmap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
146 border_pixel*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
147 bit_gravity*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
148 win_gravity*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
149 backing_store*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
150 backing_planes*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
151 backing_pixel*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
152 save_under*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
153 event_mask*: clong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
154 do_not_propagate_mask*: clong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
155 override_redirect*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
156 colormap*: Colormap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
157 cursor*: Cursor
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
158
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
159 PXWindowAttributes* = ptr XWindowAttributes
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
160 XWindowAttributes*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
161 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
162 width*, height*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
163 border_width*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
164 depth*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
165 visual*: PVisual
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
166 root*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
167 c_class*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
168 bit_gravity*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
169 win_gravity*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
170 backing_store*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
171 backing_planes*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
172 backing_pixel*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
173 save_under*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
174 colormap*: Colormap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
175 map_installed*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
176 map_state*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
177 all_event_masks*: clong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
178 your_event_mask*: clong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
179 do_not_propagate_mask*: clong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
180 override_redirect*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
181 screen*: PScreen
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
182
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
183 PXHostAddress* = ptr XHostAddress
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
184 XHostAddress*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
185 family*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
186 len*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
187 address*: cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
188
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
189 PXServerInterpretedAddress* = ptr XServerInterpretedAddress
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
190 XServerInterpretedAddress*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
191 typelength*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
192 valuelength*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
193 theType*: cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
194 value*: cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
195
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
196 PXImage* = ptr XImage
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
197 F*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
198 create_image*: proc (para1: PXDisplay, para2: PVisual, para3: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
199 para4: cint, para5: cint, para6: cstring, para7: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
200 para8: cuint, para9: cint, para10: cint): PXImage{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
201 cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
202 destroy_image*: proc (para1: PXImage): cint{.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
203 get_pixel*: proc (para1: PXImage, para2: cint, para3: cint): culong{.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
204 put_pixel*: proc (para1: PXImage, para2: cint, para3: cint, para4: culong): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
205 cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
206 sub_image*: proc (para1: PXImage, para2: cint, para3: cint, para4: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
207 para5: cuint): PXImage{.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
208 add_pixel*: proc (para1: PXImage, para2: clong): cint{.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
209
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
210 XImage*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
211 width*, height*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
212 xoffset*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
213 format*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
214 data*: cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
215 byte_order*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
216 bitmap_unit*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
217 bitmap_bit_order*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
218 bitmap_pad*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
219 depth*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
220 bytes_per_line*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
221 bits_per_pixel*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
222 red_mask*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
223 green_mask*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
224 blue_mask*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
225 obdata*: XPointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
226 f*: F
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
227
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
228 PXWindowChanges* = ptr XWindowChanges
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
229 XWindowChanges*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
230 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
231 width*, height*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
232 border_width*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
233 sibling*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
234 stack_mode*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
235
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
236 PXColor* = ptr XColor
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
237 XColor*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
238 pixel*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
239 red*, green*, blue*: cushort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
240 flags*: cchar
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
241 pad*: cchar
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
242
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
243 PXSegment* = ptr XSegment
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
244 XSegment*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
245 x1*, y1*, x2*, y2*: cshort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
246
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
247 PXPoint* = ptr XPoint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
248 XPoint*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
249 x*, y*: cshort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
250
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
251 PXRectangle* = ptr XRectangle
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
252 XRectangle*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
253 x*, y*: cshort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
254 width*, height*: cushort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
255
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
256 PXArc* = ptr XArc
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
257 XArc*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
258 x*, y*: cshort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
259 width*, height*: cushort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
260 angle1*, angle2*: cshort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
261
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
262 PXKeyboardControl* = ptr XKeyboardControl
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
263 XKeyboardControl*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
264 key_click_percent*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
265 bell_percent*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
266 bell_pitch*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
267 bell_duration*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
268 led*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
269 led_mode*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
270 key*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
271 auto_repeat_mode*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
272
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
273 PXKeyboardState* = ptr XKeyboardState
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
274 XKeyboardState*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
275 key_click_percent*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
276 bell_percent*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
277 bell_pitch*, bell_duration*: cuint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
278 led_mask*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
279 global_auto_repeat*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
280 auto_repeats*: array[0..31, cchar]
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
281
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
282 PXTimeCoord* = ptr XTimeCoord
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
283 XTimeCoord*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
284 time*: Time
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
285 x*, y*: cshort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
286
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
287 PXModifierKeymap* = ptr XModifierKeymap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
288 XModifierKeymap*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
289 max_keypermod*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
290 modifiermap*: PKeyCode
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
291
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
292 PDisplay* = ptr Display
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
293 Display* = XDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
294
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
295 PXPrivate* = ptr Private
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
296 Private*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
297
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
298 PXrmHashBucketRec* = ptr XrmHashBucketRec
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
299 XrmHashBucketRec*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
300
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
301 PXPrivDisplay* = ptr XPrivDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
302 XPrivDisplay*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
303 ext_data*: PXExtData
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
304 private1*: PXPrivate
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
305 fd*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
306 private2*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
307 proto_major_version*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
308 proto_minor_version*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
309 vendor*: cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
310 private3*: XID
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
311 private4*: XID
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
312 private5*: XID
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
313 private6*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
314 resource_alloc*: proc (para1: PXDisplay): XID{.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
315 byte_order*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
316 bitmap_unit*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
317 bitmap_pad*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
318 bitmap_bit_order*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
319 nformats*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
320 pixmap_format*: PScreenFormat
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
321 private8*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
322 release*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
323 private9*, private10*: PXPrivate
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
324 qlen*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
325 last_request_read*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
326 request*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
327 private11*: XPointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
328 private12*: XPointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
329 private13*: XPointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
330 private14*: XPointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
331 max_request_size*: cunsigned
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
332 db*: PXrmHashBucketRec
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
333 private15*: proc (para1: PXDisplay): cint{.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
334 display_name*: cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
335 default_screen*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
336 nscreens*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
337 screens*: PScreen
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
338 motion_buffer*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
339 private16*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
340 min_keycode*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
341 max_keycode*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
342 private17*: XPointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
343 private18*: XPointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
344 private19*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
345 xdefaults*: cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
346
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
347 PXKeyEvent* = ptr XKeyEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
348 XKeyEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
349 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
350 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
351 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
352 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
353 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
354 root*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
355 subwindow*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
356 time*: Time
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
357 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
358 x_root*, y_root*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
359 state*: cuint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
360 keycode*: cuint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
361 same_screen*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
362
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
363 PXKeyPressedEvent* = ptr XKeyPressedEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
364 XKeyPressedEvent* = XKeyEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
365
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
366 PXKeyReleasedEvent* = ptr XKeyReleasedEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
367 XKeyReleasedEvent* = XKeyEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
368
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
369 PXButtonEvent* = ptr XButtonEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
370 XButtonEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
371 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
372 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
373 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
374 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
375 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
376 root*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
377 subwindow*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
378 time*: Time
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
379 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
380 x_root*, y_root*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
381 state*: cuint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
382 button*: cuint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
383 same_screen*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
384
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
385 PXButtonPressedEvent* = ptr XButtonPressedEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
386 XButtonPressedEvent* = XButtonEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
387
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
388 PXButtonReleasedEvent* = ptr XButtonReleasedEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
389 XButtonReleasedEvent* = XButtonEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
390
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
391 PXMotionEvent* = ptr XMotionEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
392 XMotionEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
393 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
394 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
395 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
396 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
397 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
398 root*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
399 subwindow*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
400 time*: Time
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
401 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
402 x_root*, y_root*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
403 state*: cuint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
404 is_hint*: cchar
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
405 same_screen*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
406
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
407 PXPointerMovedEvent* = ptr XPointerMovedEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
408 XPointerMovedEvent* = XMotionEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
409
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
410 PXCrossingEvent* = ptr XCrossingEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
411 XCrossingEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
412 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
413 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
414 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
415 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
416 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
417 root*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
418 subwindow*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
419 time*: Time
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
420 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
421 x_root*, y_root*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
422 mode*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
423 detail*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
424 same_screen*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
425 focus*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
426 state*: cuint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
427
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
428 PXEnterWindowEvent* = ptr XEnterWindowEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
429 XEnterWindowEvent* = XCrossingEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
430
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
431 PXLeaveWindowEvent* = ptr XLeaveWindowEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
432 XLeaveWindowEvent* = XCrossingEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
433
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
434 PXFocusChangeEvent* = ptr XFocusChangeEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
435 XFocusChangeEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
436 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
437 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
438 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
439 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
440 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
441 mode*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
442 detail*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
443
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
444 PXFocusInEvent* = ptr XFocusInEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
445 XFocusInEvent* = XFocusChangeEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
446
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
447 PXFocusOutEvent* = ptr XFocusOutEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
448 XFocusOutEvent* = XFocusChangeEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
449
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
450 PXKeymapEvent* = ptr XKeymapEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
451 XKeymapEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
452 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
453 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
454 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
455 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
456 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
457 key_vector*: array[0..31, cchar]
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
458
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
459 PXExposeEvent* = ptr XExposeEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
460 XExposeEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
461 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
462 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
463 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
464 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
465 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
466 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
467 width*, height*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
468 count*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
469
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
470 PXGraphicsExposeEvent* = ptr XGraphicsExposeEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
471 XGraphicsExposeEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
472 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
473 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
474 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
475 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
476 drawable*: Drawable
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
477 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
478 width*, height*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
479 count*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
480 major_code*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
481 minor_code*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
482
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
483 PXNoExposeEvent* = ptr XNoExposeEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
484 XNoExposeEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
485 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
486 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
487 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
488 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
489 drawable*: Drawable
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
490 major_code*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
491 minor_code*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
492
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
493 PXVisibilityEvent* = ptr XVisibilityEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
494 XVisibilityEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
495 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
496 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
497 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
498 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
499 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
500 state*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
501
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
502 PXCreateWindowEvent* = ptr XCreateWindowEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
503 XCreateWindowEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
504 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
505 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
506 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
507 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
508 parent*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
509 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
510 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
511 width*, height*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
512 border_width*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
513 override_redirect*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
514
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
515 PXDestroyWindowEvent* = ptr XDestroyWindowEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
516 XDestroyWindowEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
517 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
518 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
519 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
520 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
521 event*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
522 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
523
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
524 PXUnmapEvent* = ptr XUnmapEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
525 XUnmapEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
526 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
527 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
528 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
529 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
530 event*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
531 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
532 from_configure*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
533
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
534 PXMapEvent* = ptr XMapEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
535 XMapEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
536 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
537 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
538 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
539 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
540 event*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
541 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
542 override_redirect*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
543
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
544 PXMapRequestEvent* = ptr XMapRequestEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
545 XMapRequestEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
546 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
547 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
548 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
549 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
550 parent*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
551 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
552
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
553 PXReparentEvent* = ptr XReparentEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
554 XReparentEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
555 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
556 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
557 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
558 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
559 event*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
560 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
561 parent*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
562 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
563 override_redirect*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
564
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
565 PXConfigureEvent* = ptr XConfigureEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
566 XConfigureEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
567 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
568 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
569 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
570 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
571 event*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
572 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
573 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
574 width*, height*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
575 border_width*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
576 above*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
577 override_redirect*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
578
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
579 PXGravityEvent* = ptr XGravityEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
580 XGravityEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
581 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
582 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
583 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
584 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
585 event*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
586 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
587 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
588
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
589 PXResizeRequestEvent* = ptr XResizeRequestEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
590 XResizeRequestEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
591 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
592 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
593 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
594 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
595 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
596 width*, height*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
597
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
598 PXConfigureRequestEvent* = ptr XConfigureRequestEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
599 XConfigureRequestEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
600 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
601 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
602 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
603 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
604 parent*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
605 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
606 x*, y*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
607 width*, height*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
608 border_width*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
609 above*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
610 detail*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
611 value_mask*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
612
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
613 PXCirculateEvent* = ptr XCirculateEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
614 XCirculateEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
615 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
616 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
617 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
618 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
619 event*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
620 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
621 place*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
622
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
623 PXCirculateRequestEvent* = ptr XCirculateRequestEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
624 XCirculateRequestEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
625 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
626 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
627 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
628 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
629 parent*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
630 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
631 place*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
632
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
633 PXPropertyEvent* = ptr XPropertyEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
634 XPropertyEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
635 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
636 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
637 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
638 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
639 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
640 atom*: Atom
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
641 time*: Time
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
642 state*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
643
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
644 PXSelectionClearEvent* = ptr XSelectionClearEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
645 XSelectionClearEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
646 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
647 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
648 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
649 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
650 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
651 selection*: Atom
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
652 time*: Time
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
653
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
654 PXSelectionRequestEvent* = ptr XSelectionRequestEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
655 XSelectionRequestEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
656 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
657 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
658 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
659 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
660 owner*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
661 requestor*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
662 selection*: Atom
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
663 target*: Atom
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
664 property*: Atom
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
665 time*: Time
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
666
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
667 PXSelectionEvent* = ptr XSelectionEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
668 XSelectionEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
669 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
670 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
671 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
672 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
673 requestor*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
674 selection*: Atom
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
675 target*: Atom
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
676 property*: Atom
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
677 time*: Time
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
678
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
679 PXColormapEvent* = ptr XColormapEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
680 XColormapEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
681 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
682 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
683 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
684 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
685 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
686 colormap*: Colormap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
687 c_new*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
688 state*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
689
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
690 PXClientMessageEvent* = ptr XClientMessageEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
691
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
692 XClientMessageData* {.union.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
693 b*: array[20, cchar]
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
694 s*: array[10, cshort]
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
695 l*: array[5, clong]
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
696
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
697 XClientMessageEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
698 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
699 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
700 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
701 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
702 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
703 message_type*: Atom
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
704 format*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
705 data*: XClientMessageData
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
706
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
707 PXMappingEvent* = ptr XMappingEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
708 XMappingEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
709 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
710 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
711 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
712 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
713 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
714 request*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
715 first_keycode*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
716 count*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
717
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
718 PXErrorEvent* = ptr XErrorEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
719 XErrorEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
720 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
721 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
722 resourceid*: XID
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
723 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
724 error_code*: char
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
725 request_code*: char
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
726 minor_code*: char
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
727
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
728 PXAnyEvent* = ptr XAnyEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
729 XAnyEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
730 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
731 serial*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
732 send_event*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
733 display*: PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
734 window*: Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
735
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
736 PXGenericEvent* = ptr XGenericEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
737 XGenericEvent*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
738 theType*: cint ## of event. Always GenericEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
739 serial*: culong ## # of last request processed
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
740 send_event*: XBool ## true if from SendEvent request
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
741 display*: PDisplay ## Display the event was read from
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
742 extension*: cint ## major opcode of extension that caused the event
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
743 evtype*: cint ## actual event type.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
744
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
745 PXGenericEventCookie* = ptr XGenericEventCookie
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
746 XGenericEventCookie*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
747 theType*: cint ## of event. Always GenericEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
748 serial*: culong ## # of last request processed
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
749 send_event*: XBool ## true if from SendEvent request
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
750 display*: PDisplay ## Display the event was read from
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
751 extension*: cint ## major opcode of extension that caused the event
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
752 evtype*: cint ## actual event type.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
753 cookie*: cuint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
754 data*: pointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
755
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
756 PXEvent* = ptr XEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
757 XEvent*{.final, union.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
758 theType*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
759 xany*: XAnyEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
760 xkey*: XKeyEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
761 xbutton*: XButtonEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
762 xmotion*: XMotionEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
763 xcrossing*: XCrossingEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
764 xfocus*: XFocusChangeEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
765 xexpose*: XExposeEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
766 xgraphicsexpose*: XGraphicsExposeEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
767 xnoexpose*: XNoExposeEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
768 xvisibility*: XVisibilityEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
769 xcreatewindow*: XCreateWindowEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
770 xdestroywindow*: XDestroyWindowEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
771 xunmap*: XUnmapEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
772 xmap*: XMapEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
773 xmaprequest*: XMapRequestEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
774 xreparent*: XReparentEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
775 xconfigure*: XConfigureEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
776 xgravity*: XGravityEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
777 xresizerequest*: XResizeRequestEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
778 xconfigurerequest*: XConfigureRequestEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
779 xcirculate*: XCirculateEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
780 xcirculaterequest*: XCirculateRequestEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
781 xproperty*: XPropertyEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
782 xselectionclear*: XSelectionClearEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
783 xselectionrequest*: XSelectionRequestEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
784 xselection*: XSelectionEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
785 xcolormap*: XColormapEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
786 xclient*: XClientMessageEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
787 xmapping*: XMappingEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
788 xerror*: XErrorEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
789 xkeymap*: XKeymapEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
790 xgeneric*: XGenericEvent
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
791 xcookie*: XGenericEventCookie
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
792 pad: array[0..23, clong]
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
793
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
794
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
795 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
796 PXCharStruct* = ptr XCharStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
797 XCharStruct*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
798 lbearing*: cshort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
799 rbearing*: cshort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
800 width*: cshort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
801 ascent*: cshort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
802 descent*: cshort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
803 attributes*: cushort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
804
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
805 PXFontProp* = ptr XFontProp
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
806 XFontProp*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
807 name*: Atom
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
808 card32*: culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
809
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
810 PPPXFontStruct* = ptr PPXFontStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
811 PPXFontStruct* = ptr PXFontStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
812 PXFontStruct* = ptr XFontStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
813 XFontStruct*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
814 ext_data*: PXExtData
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
815 fid*: Font
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
816 direction*: cunsigned
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
817 min_char_or_byte2*: cunsigned
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
818 max_char_or_byte2*: cunsigned
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
819 min_byte1*: cunsigned
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
820 max_byte1*: cunsigned
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
821 all_chars_exist*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
822 default_char*: cunsigned
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
823 n_properties*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
824 properties*: PXFontProp
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
825 min_bounds*: XCharStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
826 max_bounds*: XCharStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
827 per_char*: PXCharStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
828 ascent*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
829 descent*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
830
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
831 PXTextItem* = ptr XTextItem
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
832 XTextItem*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
833 chars*: cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
834 nchars*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
835 delta*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
836 font*: Font
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
837
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
838 PXChar2b* = ptr XChar2b
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
839 XChar2b*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
840 byte1*: char
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
841 byte2*: char
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
842
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
843 PXTextItem16* = ptr XTextItem16
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
844 XTextItem16*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
845 chars*: PXChar2b
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
846 nchars*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
847 delta*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
848 font*: Font
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
849
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
850 PXEDataObject* = ptr XEDataObject
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
851 XEDataObject*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
852 display*: PDisplay # case longint of
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
853 # 0 : ( display : PDisplay );
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
854 # 1 : ( gc : GC );
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
855 # 2 : ( visual : PVisual );
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
856 # 3 : ( screen : PScreen );
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
857 # 4 : ( pixmap_format : PScreenFormat );
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
858 # 5 : ( font : PXFontStruct );
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
859
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
860 PXFontSetExtents* = ptr XFontSetExtents
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
861 XFontSetExtents*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
862 max_ink_extent*: XRectangle
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
863 max_logical_extent*: XRectangle
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
864
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
865 PXOM* = ptr XOM
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
866 XOM*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
867
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
868 PXOC* = ptr XOC
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
869 XOC*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
870
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
871 PXFontSet* = ptr XFontSet
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
872 XFontSet* = PXOC
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
873
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
874 PXmbTextItem* = ptr XmbTextItem
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
875 XmbTextItem*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
876 chars*: cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
877 nchars*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
878 delta*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
879 font_set*: XFontSet
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
880
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
881 PXwcTextItem* = ptr XwcTextItem
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
882 XwcTextItem*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
883 chars*: PWideChar #wchar_t*
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
884 nchars*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
885 delta*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
886 font_set*: XFontSet
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
887
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
888 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
889 XNRequiredCharSet* = "requiredCharSet"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
890 XNQueryOrientation* = "queryOrientation"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
891 XNBaseFontName* = "baseFontName"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
892 XNOMAutomatic* = "omAutomatic"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
893 XNMissingCharSet* = "missingCharSet"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
894 XNDefaultString* = "defaultString"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
895 XNOrientation* = "orientation"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
896 XNDirectionalDependentDrawing* = "directionalDependentDrawing"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
897 XNContextualDrawing* = "contextualDrawing"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
898 XNFontInfo* = "fontInfo"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
899
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
900 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
901 PXOMCharSetList* = ptr XOMCharSetList
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
902 XOMCharSetList*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
903 charset_count*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
904 charset_list*: PPChar
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
905
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
906 PXOrientation* = ptr XOrientation
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
907 XOrientation* = enum
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
908 XOMOrientation_LTR_TTB, XOMOrientation_RTL_TTB, XOMOrientation_TTB_LTR,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
909 XOMOrientation_TTB_RTL, XOMOrientation_Context
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
910
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
911 PXOMOrientation* = ptr XOMOrientation
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
912 XOMOrientation*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
913 num_orientation*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
914 orientation*: PXOrientation
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
915
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
916 PXOMFontInfo* = ptr XOMFontInfo
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
917 XOMFontInfo*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
918 num_font*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
919 font_struct_list*: ptr PXFontStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
920 font_name_list*: PPChar
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
921
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
922 XIM*{.final.} = ptr object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
923
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
924 XIC*{.final.} = ptr object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
925
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
926 XIMProc* = proc (para1: XIM, para2: XPointer, para3: XPointer){.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
927
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
928 XICProc* = proc (para1: XIC, para2: XPointer, para3: XPointer): XBool{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
929 cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
930
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
931 XIDProc* = proc (para1: PDisplay, para2: XPointer, para3: XPointer){.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
932
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
933 PXIMStyle* = ptr XIMStyle
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
934 XIMStyle* = culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
935
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
936 PXIMStyles* = ptr XIMStyles
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
937 XIMStyles*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
938 count_styles*: cushort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
939 supported_styles*: PXIMStyle
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
940
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
941 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
942 XIMPreeditArea* = 0x00000001
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
943 XIMPreeditCallbacks* = 0x00000002
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
944 XIMPreeditPosition* = 0x00000004
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
945 XIMPreeditNothing* = 0x00000008
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
946 XIMPreeditNone* = 0x00000010
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
947 XIMStatusArea* = 0x00000100
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
948 XIMStatusCallbacks* = 0x00000200
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
949 XIMStatusNothing* = 0x00000400
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
950 XIMStatusNone* = 0x00000800
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
951 XNVaNestedList* = "XNVaNestedList"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
952 XNQueryInputStyle* = "queryInputStyle"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
953 XNClientWindow* = "clientWindow"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
954 XNInputStyle* = "inputStyle"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
955 XNFocusWindow* = "focusWindow"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
956 XNResourceName* = "resourceName"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
957 XNResourceClass* = "resourceClass"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
958 XNGeometryCallback* = "geometryCallback"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
959 XNDestroyCallback* = "destroyCallback"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
960 XNFilterEvents* = "filterEvents"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
961 XNPreeditStartCallback* = "preeditStartCallback"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
962 XNPreeditDoneCallback* = "preeditDoneCallback"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
963 XNPreeditDrawCallback* = "preeditDrawCallback"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
964 XNPreeditCaretCallback* = "preeditCaretCallback"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
965 XNPreeditStateNotifyCallback* = "preeditStateNotifyCallback"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
966 XNPreeditAttributes* = "preeditAttributes"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
967 XNStatusStartCallback* = "statusStartCallback"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
968 XNStatusDoneCallback* = "statusDoneCallback"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
969 XNStatusDrawCallback* = "statusDrawCallback"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
970 XNStatusAttributes* = "statusAttributes"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
971 XNArea* = "area"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
972 XNAreaNeeded* = "areaNeeded"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
973 XNSpotLocation* = "spotLocation"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
974 XNColormap* = "colorMap"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
975 XNStdColormap* = "stdColorMap"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
976 XNForeground* = "foreground"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
977 XNBackground* = "background"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
978 XNBackgroundPixmap* = "backgroundPixmap"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
979 XNFontSet* = "fontSet"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
980 XNLineSpace* = "lineSpace"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
981 XNCursor* = "cursor"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
982 XNQueryIMValuesList* = "queryIMValuesList"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
983 XNQueryICValuesList* = "queryICValuesList"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
984 XNVisiblePosition* = "visiblePosition"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
985 XNR6PreeditCallback* = "r6PreeditCallback"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
986 XNStringConversionCallback* = "stringConversionCallback"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
987 XNStringConversion* = "stringConversion"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
988 XNResetState* = "resetState"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
989 XNHotKey* = "hotKey"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
990 XNHotKeyState* = "hotKeyState"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
991 XNPreeditState* = "preeditState"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
992 XNSeparatorofNestedList* = "separatorofNestedList"
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
993 XBufferOverflow* = - (1)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
994 XLookupNone* = 1
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
995 XLookupChars* = 2
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
996 XLookupKeySymVal* = 3
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
997 XLookupBoth* = 4
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
998
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
999 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1000 PXVaNestedList* = ptr XVaNestedList
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1001 XVaNestedList* = pointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1002
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1003 PXIMCallback* = ptr XIMCallback
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1004 XIMCallback*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1005 client_data*: XPointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1006 callback*: XIMProc
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1007
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1008 PXICCallback* = ptr XICCallback
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1009 XICCallback*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1010 client_data*: XPointer
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1011 callback*: XICProc
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1012
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1013 PXIMFeedback* = ptr XIMFeedback
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1014 XIMFeedback* = culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1015
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1016 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1017 XIMReverse* = 1
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1018 XIMUnderline* = 1 shl 1
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1019 XIMHighlight* = 1 shl 2
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1020 XIMPrimary* = 1 shl 5
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1021 XIMSecondary* = 1 shl 6
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1022 XIMTertiary* = 1 shl 7
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1023 XIMVisibleToForward* = 1 shl 8
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1024 XIMVisibleToBackword* = 1 shl 9
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1025 XIMVisibleToCenter* = 1 shl 10
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1026
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1027 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1028 PXIMText* = ptr XIMText
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1029 XIMText*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1030 len*: cushort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1031 feedback*: PXIMFeedback
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1032 encoding_is_wchar*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1033 multi_byte*: cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1034
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1035 PXIMPreeditState* = ptr XIMPreeditState
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1036 XIMPreeditState* = culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1037
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1038 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1039 XIMPreeditUnKnown* = 0
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1040 XIMPreeditEnable* = 1
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1041 XIMPreeditDisable* = 1 shl 1
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1042
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1043 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1044 PXIMPreeditStateNotifyCallbackStruct* = ptr XIMPreeditStateNotifyCallbackStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1045 XIMPreeditStateNotifyCallbackStruct*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1046 state*: XIMPreeditState
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1047
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1048 PXIMResetState* = ptr XIMResetState
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1049 XIMResetState* = culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1050
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1051 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1052 XIMInitialState* = 1
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1053 XIMPreserveState* = 1 shl 1
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1054
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1055 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1056 PXIMStringConversionFeedback* = ptr XIMStringConversionFeedback
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1057 XIMStringConversionFeedback* = culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1058
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1059 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1060 XIMStringConversionLeftEdge* = 0x00000001
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1061 XIMStringConversionRightEdge* = 0x00000002
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1062 XIMStringConversionTopEdge* = 0x00000004
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1063 XIMStringConversionBottomEdge* = 0x00000008
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1064 XIMStringConversionConcealed* = 0x00000010
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1065 XIMStringConversionWrapped* = 0x00000020
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1066
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1067 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1068 PXIMStringConversionText* = ptr XIMStringConversionText
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1069 XIMStringConversionText*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1070 len*: cushort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1071 feedback*: PXIMStringConversionFeedback
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1072 encoding_is_wchar*: XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1073 mbs*: cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1074
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1075 PXIMStringConversionPosition* = ptr XIMStringConversionPosition
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1076 XIMStringConversionPosition* = cushort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1077
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1078 PXIMStringConversionType* = ptr XIMStringConversionType
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1079 XIMStringConversionType* = cushort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1080
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1081 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1082 XIMStringConversionBuffer* = 0x00000001
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1083 XIMStringConversionLine* = 0x00000002
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1084 XIMStringConversionWord* = 0x00000003
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1085 XIMStringConversionChar* = 0x00000004
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1086
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1087 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1088 PXIMStringConversionOperation* = ptr XIMStringConversionOperation
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1089 XIMStringConversionOperation* = cushort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1090
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1091 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1092 XIMStringConversionSubstitution* = 0x00000001
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1093 XIMStringConversionRetrieval* = 0x00000002
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1094
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1095 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1096 PXIMCaretDirection* = ptr XIMCaretDirection
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1097 XIMCaretDirection* = enum
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1098 XIMForwardChar, XIMBackwardChar, XIMForwardWord, XIMBackwardWord,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1099 XIMCaretUp, XIMCaretDown, XIMNextLine, XIMPreviousLine, XIMLineStart,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1100 XIMLineEnd, XIMAbsolutePosition, XIMDontChange
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1101
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1102 PXIMStringConversionCallbackStruct* = ptr XIMStringConversionCallbackStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1103 XIMStringConversionCallbackStruct*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1104 position*: XIMStringConversionPosition
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1105 direction*: XIMCaretDirection
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1106 operation*: XIMStringConversionOperation
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1107 factor*: cushort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1108 text*: PXIMStringConversionText
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1109
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1110 PXIMPreeditDrawCallbackStruct* = ptr XIMPreeditDrawCallbackStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1111 XIMPreeditDrawCallbackStruct*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1112 caret*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1113 chg_first*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1114 chg_length*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1115 text*: PXIMText
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1116
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1117 PXIMCaretStyle* = ptr XIMCaretStyle
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1118 XIMCaretStyle* = enum
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1119 XIMIsInvisible, XIMIsPrimary, XIMIsSecondary
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1120
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1121 PXIMPreeditCaretCallbackStruct* = ptr XIMPreeditCaretCallbackStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1122 XIMPreeditCaretCallbackStruct*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1123 position*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1124 direction*: XIMCaretDirection
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1125 style*: XIMCaretStyle
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1126
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1127 PXIMStatusDataType* = ptr XIMStatusDataType
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1128 XIMStatusDataType* = enum
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1129 XIMTextType, XIMBitmapType
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1130
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1131 PXIMStatusDrawCallbackStruct* = ptr XIMStatusDrawCallbackStruct
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1132 XIMStatusDrawCallbackStruct*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1133 theType*: XIMStatusDataType
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1134 bitmap*: Pixmap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1135
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1136 PXIMHotKeyTrigger* = ptr XIMHotKeyTrigger
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1137 XIMHotKeyTrigger*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1138 keysym*: KeySym
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1139 modifier*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1140 modifier_mask*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1141
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1142 PXIMHotKeyTriggers* = ptr XIMHotKeyTriggers
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1143 XIMHotKeyTriggers*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1144 num_hot_key*: cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1145 key*: PXIMHotKeyTrigger
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1146
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1147 PXIMHotKeyState* = ptr XIMHotKeyState
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1148 XIMHotKeyState* = culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1149
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1150 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1151 XIMHotKeyStateON* = 0x00000001
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1152 XIMHotKeyStateOFF* = 0x00000002
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1153
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1154 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1155 PXIMValuesList* = ptr XIMValuesList
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1156 XIMValuesList*{.final.} = object
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1157 count_values*: cushort
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1158 supported_values*: PPChar
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1159
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1160
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1161 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1162 funcdisp* = proc (display: PDisplay): cint{.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1163 funcifevent* = proc (display: PDisplay, event: PXEvent, p: XPointer): XBool{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1164 cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1165 chararr32* = array[0..31, char]
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1166
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1167 const
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1168 AllPlanes*: culong = not culong(0)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1169
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1170 proc XLoadQueryFont*(para1: PDisplay, para2: cstring): PXFontStruct{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1171 proc XQueryFont*(para1: PDisplay, para2: XID): PXFontStruct{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1172 proc XGetMotionEvents*(para1: PDisplay, para2: Window, para3: Time,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1173 para4: Time, para5: Pcint): PXTimeCoord{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1174 proc XDeleteModifiermapEntry*(para1: PXModifierKeymap, para2: KeyCode,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1175 para3: cint): PXModifierKeymap{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1176 proc XGetModifierMapping*(para1: PDisplay): PXModifierKeymap{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1177 proc XInsertModifiermapEntry*(para1: PXModifierKeymap, para2: KeyCode,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1178 para3: cint): PXModifierKeymap{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1179 proc XNewModifiermap*(para1: cint): PXModifierKeymap{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1180 proc XCreateImage*(para1: PDisplay, para2: PVisual, para3: cuint, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1181 para5: cint, para6: cstring, para7: cuint, para8: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1182 para9: cint, para10: cint): PXImage{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1183 proc XInitImage*(para1: PXImage): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1184 proc XGetImage*(para1: PDisplay, para2: Drawable, para3: cint, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1185 para5: cuint, para6: cuint, para7: culong, para8: cint): PXImage{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1186 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1187 proc XGetSubImage*(para1: PDisplay, para2: Drawable, para3: cint, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1188 para5: cuint, para6: cuint, para7: culong, para8: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1189 para9: PXImage, para10: cint, para11: cint): PXImage{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1190 proc XOpenDisplay*(para1: cstring): PDisplay{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1191 proc XrmInitialize*(){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1192 proc XFetchBytes*(para1: PDisplay, para2: Pcint): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1193 proc XFetchBuffer*(para1: PDisplay, para2: Pcint, para3: cint): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1194 proc XGetAtomName*(para1: PDisplay, para2: Atom): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1195 proc XGetAtomNames*(para1: PDisplay, para2: PAtom, para3: cint, para4: PPchar): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1196 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1197 proc XGetDefault*(para1: PDisplay, para2: cstring, para3: cstring): cstring{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1198 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1199 proc XDisplayName*(para1: cstring): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1200 proc XKeysymToString*(para1: KeySym): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1201 proc XSynchronize*(para1: PDisplay, para2: XBool): funcdisp{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1202 proc XSetAfterFunction*(para1: PDisplay, para2: funcdisp): funcdisp{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1203 proc XInternAtom*(para1: PDisplay, para2: cstring, para3: XBool): Atom{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1204 proc XInternAtoms*(para1: PDisplay, para2: PPchar, para3: cint, para4: XBool,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1205 para5: PAtom): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1206 proc XCopyColormapAndFree*(para1: PDisplay, para2: Colormap): Colormap{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1207 proc XCreateColormap*(para1: PDisplay, para2: Window, para3: PVisual,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1208 para4: cint): Colormap{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1209 proc XCreatePixmapCursor*(para1: PDisplay, para2: Pixmap, para3: Pixmap,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1210 para4: PXColor, para5: PXColor, para6: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1211 para7: cuint): Cursor{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1212 proc XCreateGlyphCursor*(para1: PDisplay, para2: Font, para3: Font,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1213 para4: cuint, para5: cuint, para6: PXColor,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1214 para7: PXColor): Cursor{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1215 proc XCreateFontCursor*(para1: PDisplay, para2: cuint): Cursor{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1216 proc XLoadFont*(para1: PDisplay, para2: cstring): Font{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1217 proc XCreateGC*(para1: PDisplay, para2: Drawable, para3: culong,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1218 para4: PXGCValues): GC{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1219 proc XGContextFromGC*(para1: GC): GContext{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1220 proc XFlushGC*(para1: PDisplay, para2: GC){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1221 proc XCreatePixmap*(para1: PDisplay, para2: Drawable, para3: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1222 para4: cuint, para5: cuint): Pixmap{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1223 proc XCreateBitmapFromData*(para1: PDisplay, para2: Drawable, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1224 para4: cuint, para5: cuint): Pixmap{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1225 proc XCreatePixmapFromBitmapData*(para1: PDisplay, para2: Drawable,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1226 para3: cstring, para4: cuint, para5: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1227 para6: culong, para7: culong, para8: cuint): Pixmap{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1228 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1229 proc XCreateSimpleWindow*(para1: PDisplay, para2: Window, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1230 para4: cint, para5: cuint, para6: cuint, para7: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1231 para8: culong, para9: culong): Window{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1232 proc XGetSelectionOwner*(para1: PDisplay, para2: Atom): Window{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1233 proc XCreateWindow*(para1: PDisplay, para2: Window, para3: cint, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1234 para5: cuint, para6: cuint, para7: cuint, para8: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1235 para9: cuint, para10: PVisual, para11: culong,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1236 para12: PXSetWindowAttributes): Window{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1237 proc XListInstalledColormaps*(para1: PDisplay, para2: Window, para3: Pcint): PColormap{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1238 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1239 proc XListFonts*(para1: PDisplay, para2: cstring, para3: cint, para4: Pcint): PPChar{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1240 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1241 proc XListFontsWithInfo*(para1: PDisplay, para2: cstring, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1242 para4: Pcint, para5: PPXFontStruct): PPChar{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1243 proc XGetFontPath*(para1: PDisplay, para2: Pcint): PPChar{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1244 proc XListExtensions*(para1: PDisplay, para2: Pcint): PPChar{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1245 proc XListProperties*(para1: PDisplay, para2: Window, para3: Pcint): PAtom{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1246 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1247 proc XListHosts*(para1: PDisplay, para2: Pcint, para3: PBool): PXHostAddress{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1248 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1249 proc XKeycodeToKeysym*(para1: PDisplay, para2: KeyCode, para3: cint): KeySym{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1250 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1251 proc XLookupKeysym*(para1: PXKeyEvent, para2: cint): KeySym{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1252 proc XGetKeyboardMapping*(para1: PDisplay, para2: KeyCode, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1253 para4: Pcint): PKeySym{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1254 proc XStringToKeysym*(para1: cstring): KeySym{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1255 proc XMaxRequestSize*(para1: PDisplay): clong{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1256 proc XExtendedMaxRequestSize*(para1: PDisplay): clong{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1257 proc XResourceManagerString*(para1: PDisplay): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1258 proc XScreenResourceString*(para1: PScreen): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1259 proc XDisplayMotionBufferSize*(para1: PDisplay): culong{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1260 proc XVisualIDFromVisual*(para1: PVisual): VisualID{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1261 proc XInitThreads*(): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1262 proc XLockDisplay*(para1: PDisplay){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1263 proc XUnlockDisplay*(para1: PDisplay){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1264 proc XInitExtension*(para1: PDisplay, para2: cstring): PXExtCodes{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1265 proc XAddExtension*(para1: PDisplay): PXExtCodes{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1266 proc XFindOnExtensionList*(para1: PPXExtData, para2: cint): PXExtData{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1267 proc XEHeadOfExtensionList*(para1: XEDataObject): PPXExtData{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1268 proc XRootWindow*(para1: PDisplay, para2: cint): Window{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1269 proc XDefaultRootWindow*(para1: PDisplay): Window{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1270 proc XRootWindowOfScreen*(para1: PScreen): Window{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1271 proc XDefaultVisual*(para1: PDisplay, para2: cint): PVisual{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1272 proc XDefaultVisualOfScreen*(para1: PScreen): PVisual{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1273 proc XDefaultGC*(para1: PDisplay, para2: cint): GC{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1274 proc XDefaultGCOfScreen*(para1: PScreen): GC{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1275 proc XBlackPixel*(para1: PDisplay, para2: cint): culong{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1276 proc XWhitePixel*(para1: PDisplay, para2: cint): culong{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1277 proc XAllPlanes*(): culong{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1278 proc XBlackPixelOfScreen*(para1: PScreen): culong{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1279 proc XWhitePixelOfScreen*(para1: PScreen): culong{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1280 proc XNextRequest*(para1: PDisplay): culong{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1281 proc XLastKnownRequestProcessed*(para1: PDisplay): culong{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1282 proc XServerVendor*(para1: PDisplay): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1283 proc XDisplayString*(para1: PDisplay): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1284 proc XDefaultColormap*(para1: PDisplay, para2: cint): Colormap{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1285 proc XDefaultColormapOfScreen*(para1: PScreen): Colormap{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1286 proc XDisplayOfScreen*(para1: PScreen): PDisplay{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1287 proc XScreenOfDisplay*(para1: PDisplay, para2: cint): PScreen{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1288 proc XDefaultScreenOfDisplay*(para1: PDisplay): PScreen{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1289 proc XEventMaskOfScreen*(para1: PScreen): clong{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1290 proc XScreenNumberOfScreen*(para1: PScreen): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1291
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1292 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1293 XErrorHandler* = proc (para1: PDisplay, para2: PXErrorEvent): cint{.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1294
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1295 proc XSetErrorHandler*(para1: XErrorHandler): XErrorHandler{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1296 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1297 XIOErrorHandler* = proc (para1: PDisplay): cint{.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1298
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1299 proc XSetIOErrorHandler*(para1: XIOErrorHandler): XIOErrorHandler{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1300 proc XListPixmapFormats*(para1: PDisplay, para2: Pcint): PXPixmapFormatValues{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1301 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1302 proc XListDepths*(para1: PDisplay, para2: cint, para3: Pcint): Pcint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1303 proc XReconfigureWMWindow*(para1: PDisplay, para2: Window, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1304 para4: cuint, para5: PXWindowChanges): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1305 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1306 proc XGetWMProtocols*(para1: PDisplay, para2: Window, para3: PPAtom,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1307 para4: Pcint): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1308 proc XSetWMProtocols*(para1: PDisplay, para2: Window, para3: PAtom, para4: cint): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1309 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1310 proc XIconifyWindow*(para1: PDisplay, para2: Window, para3: cint): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1311 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1312 proc XWithdrawWindow*(para1: PDisplay, para2: Window, para3: cint): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1313 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1314 proc XGetCommand*(para1: PDisplay, para2: Window, para3: PPPchar, para4: Pcint): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1315 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1316 proc XGetWMColormapWindows*(para1: PDisplay, para2: Window, para3: PPWindow,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1317 para4: Pcint): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1318 proc XSetWMColormapWindows*(para1: PDisplay, para2: Window, para3: PWindow,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1319 para4: cint): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1320 proc XFreeStringList*(para1: PPchar){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1321 proc XSetTransientForHint*(para1: PDisplay, para2: Window, para3: Window): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1322 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1323 proc XActivateScreenSaver*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1324 proc XAddHost*(para1: PDisplay, para2: PXHostAddress): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1325 proc XAddHosts*(para1: PDisplay, para2: PXHostAddress, para3: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1326 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1327 proc XAddToExtensionList*(para1: PPXExtData, para2: PXExtData): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1328 proc XAddToSaveSet*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1329 proc XAllocColor*(para1: PDisplay, para2: Colormap, para3: PXColor): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1330 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1331 proc XAllocColorCells*(para1: PDisplay, para2: Colormap, para3: XBool,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1332 para4: Pculong, para5: cuint, para6: Pculong,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1333 para7: cuint): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1334 proc XAllocColorPlanes*(para1: PDisplay, para2: Colormap, para3: XBool,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1335 para4: Pculong, para5: cint, para6: cint, para7: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1336 para8: cint, para9: Pculong, para10: Pculong,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1337 para11: Pculong): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1338 proc XAllocNamedColor*(para1: PDisplay, para2: Colormap, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1339 para4: PXColor, para5: PXColor): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1340 proc XAllowEvents*(para1: PDisplay, para2: cint, para3: Time): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1341 proc XAutoRepeatOff*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1342 proc XAutoRepeatOn*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1343 proc XBell*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1344 proc XBitmapBitOrder*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1345 proc XBitmapPad*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1346 proc XBitmapUnit*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1347 proc XCellsOfScreen*(para1: PScreen): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1348 proc XChangeActivePointerGrab*(para1: PDisplay, para2: cuint, para3: Cursor,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1349 para4: Time): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1350 proc XChangeGC*(para1: PDisplay, para2: GC, para3: culong, para4: PXGCValues): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1351 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1352 proc XChangeKeyboardControl*(para1: PDisplay, para2: culong,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1353 para3: PXKeyboardControl): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1354 proc XChangeKeyboardMapping*(para1: PDisplay, para2: cint, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1355 para4: PKeySym, para5: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1356 proc XChangePointerControl*(para1: PDisplay, para2: XBool, para3: XBool,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1357 para4: cint, para5: cint, para6: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1358 proc XChangeProperty*(para1: PDisplay, para2: Window, para3: Atom,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1359 para4: Atom, para5: cint, para6: cint, para7: Pcuchar,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1360 para8: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1361 proc XChangeSaveSet*(para1: PDisplay, para2: Window, para3: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1362 proc XChangeWindowAttributes*(para1: PDisplay, para2: Window, para3: culong,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1363 para4: PXSetWindowAttributes): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1364 proc XCheckIfEvent*(para1: PDisplay, para2: PXEvent, para3: funcifevent,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1365 para4: XPointer): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1366 proc XCheckMaskEvent*(para1: PDisplay, para2: clong, para3: PXEvent): XBool{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1367 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1368 proc XCheckTypedEvent*(para1: PDisplay, para2: cint, para3: PXEvent): XBool{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1369 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1370 proc XCheckTypedWindowEvent*(para1: PDisplay, para2: Window, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1371 para4: PXEvent): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1372 proc XCheckWindowEvent*(para1: PDisplay, para2: Window, para3: clong,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1373 para4: PXEvent): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1374 proc XCirculateSubwindows*(para1: PDisplay, para2: Window, para3: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1375 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1376 proc XCirculateSubwindowsDown*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1377 proc XCirculateSubwindowsUp*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1378 proc XClearArea*(para1: PDisplay, para2: Window, para3: cint, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1379 para5: cuint, para6: cuint, para7: XBool): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1380 proc XClearWindow*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1381 proc XCloseDisplay*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1382 proc XConfigureWindow*(para1: PDisplay, para2: Window, para3: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1383 para4: PXWindowChanges): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1384 proc XConnectionNumber*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1385 proc XConvertSelection*(para1: PDisplay, para2: Atom, para3: Atom,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1386 para4: Atom, para5: Window, para6: Time): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1387 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1388 proc XCopyArea*(para1: PDisplay, para2: Drawable, para3: Drawable, para4: GC,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1389 para5: cint, para6: cint, para7: cuint, para8: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1390 para9: cint, para10: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1391 proc XCopyGC*(para1: PDisplay, para2: GC, para3: culong, para4: GC): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1392 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1393 proc XCopyPlane*(para1: PDisplay, para2: Drawable, para3: Drawable,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1394 para4: GC, para5: cint, para6: cint, para7: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1395 para8: cuint, para9: cint, para10: cint, para11: culong): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1396 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1397 proc XDefaultDepth*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1398 proc XDefaultDepthOfScreen*(para1: PScreen): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1399 proc XDefaultScreen*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1400 proc XDefineCursor*(para1: PDisplay, para2: Window, para3: Cursor): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1401 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1402 proc XDeleteProperty*(para1: PDisplay, para2: Window, para3: Atom): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1403 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1404 proc XDestroyWindow*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1405 proc XDestroySubwindows*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1406 proc XDoesBackingStore*(para1: PScreen): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1407 proc XDoesSaveUnders*(para1: PScreen): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1408 proc XDisableAccessControl*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1409 proc XDisplayCells*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1410 proc XDisplayHeight*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1411 proc XDisplayHeightMM*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1412 proc XDisplayKeycodes*(para1: PDisplay, para2: Pcint, para3: Pcint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1413 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1414 proc XDisplayPlanes*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1415 proc XDisplayWidth*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1416 proc XDisplayWidthMM*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1417 proc XDrawArc*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1418 para5: cint, para6: cuint, para7: cuint, para8: cint, para9: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1419 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1420 proc XDrawArcs*(para1: PDisplay, para2: Drawable, para3: GC, para4: PXArc,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1421 para5: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1422 proc XDrawImageString*(para1: PDisplay, para2: Drawable, para3: GC,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1423 para4: cint, para5: cint, para6: cstring, para7: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1424 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1425 proc XDrawImageString16*(para1: PDisplay, para2: Drawable, para3: GC,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1426 para4: cint, para5: cint, para6: PXChar2b, para7: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1427 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1428 proc XDrawLine*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1429 para5: cint, para6: cint, para7: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1430 proc XDrawLines*(para1: PDisplay, para2: Drawable, para3: GC, para4: PXPoint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1431 para5: cint, para6: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1432 proc XDrawPoint*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1433 para5: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1434 proc XDrawPoints*(para1: PDisplay, para2: Drawable, para3: GC, para4: PXPoint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1435 para5: cint, para6: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1436 proc XDrawRectangle*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1437 para5: cint, para6: cuint, para7: cuint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1438 proc XDrawRectangles*(para1: PDisplay, para2: Drawable, para3: GC,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1439 para4: PXRectangle, para5: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1440 proc XDrawSegments*(para1: PDisplay, para2: Drawable, para3: GC,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1441 para4: PXSegment, para5: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1442 proc XDrawString*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1443 para5: cint, para6: cstring, para7: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1444 proc XDrawString16*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1445 para5: cint, para6: PXChar2b, para7: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1446 proc XDrawText*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1447 para5: cint, para6: PXTextItem, para7: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1448 proc XDrawText16*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1449 para5: cint, para6: PXTextItem16, para7: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1450 proc XEnableAccessControl*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1451 proc XEventsQueued*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1452 proc XFetchName*(para1: PDisplay, para2: Window, para3: PPchar): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1453 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1454 proc XFillArc*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1455 para5: cint, para6: cuint, para7: cuint, para8: cint, para9: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1456 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1457 proc XFillArcs*(para1: PDisplay, para2: Drawable, para3: GC, para4: PXArc,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1458 para5: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1459 proc XFillPolygon*(para1: PDisplay, para2: Drawable, para3: GC,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1460 para4: PXPoint, para5: cint, para6: cint, para7: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1461 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1462 proc XFillRectangle*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1463 para5: cint, para6: cuint, para7: cuint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1464 proc XFillRectangles*(para1: PDisplay, para2: Drawable, para3: GC,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1465 para4: PXRectangle, para5: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1466 proc XFlush*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1467 proc XForceScreenSaver*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1468 proc XFree*(para1: pointer): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1469 proc XFreeColormap*(para1: PDisplay, para2: Colormap): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1470 proc XFreeColors*(para1: PDisplay, para2: Colormap, para3: Pculong,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1471 para4: cint, para5: culong): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1472 proc XFreeCursor*(para1: PDisplay, para2: Cursor): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1473 proc XFreeExtensionList*(para1: PPchar): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1474 proc XFreeFont*(para1: PDisplay, para2: PXFontStruct): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1475 proc XFreeFontInfo*(para1: PPchar, para2: PXFontStruct, para3: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1476 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1477 proc XFreeFontNames*(para1: PPchar): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1478 proc XFreeFontPath*(para1: PPchar): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1479 proc XFreeGC*(para1: PDisplay, para2: GC): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1480 proc XFreeModifiermap*(para1: PXModifierKeymap): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1481 proc XFreePixmap*(para1: PDisplay, para2: Pixmap): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1482 proc XGeometry*(para1: PDisplay, para2: cint, para3: cstring, para4: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1483 para5: cuint, para6: cuint, para7: cuint, para8: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1484 para9: cint, para10: Pcint, para11: Pcint, para12: Pcint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1485 para13: Pcint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1486 proc XGetErrorDatabaseText*(para1: PDisplay, para2: cstring, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1487 para4: cstring, para5: cstring, para6: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1488 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1489 proc XGetErrorText*(para1: PDisplay, para2: cint, para3: cstring, para4: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1490 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1491 proc XGetFontProperty*(para1: PXFontStruct, para2: Atom, para3: Pculong): XBool{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1492 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1493 proc XGetGCValues*(para1: PDisplay, para2: GC, para3: culong, para4: PXGCValues): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1494 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1495 proc XGetGeometry*(para1: PDisplay, para2: Drawable, para3: PWindow,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1496 para4: Pcint, para5: Pcint, para6: Pcuint, para7: Pcuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1497 para8: Pcuint, para9: Pcuint): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1498 proc XGetIconName*(para1: PDisplay, para2: Window, para3: PPchar): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1499 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1500 proc XGetInputFocus*(para1: PDisplay, para2: PWindow, para3: Pcint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1501 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1502 proc XGetKeyboardControl*(para1: PDisplay, para2: PXKeyboardState): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1503 proc XGetPointerControl*(para1: PDisplay, para2: Pcint, para3: Pcint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1504 para4: Pcint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1505 proc XGetPointerMapping*(para1: PDisplay, para2: Pcuchar, para3: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1506 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1507 proc XGetScreenSaver*(para1: PDisplay, para2: Pcint, para3: Pcint, para4: Pcint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1508 para5: Pcint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1509 proc XGetTransientForHint*(para1: PDisplay, para2: Window, para3: PWindow): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1510 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1511 proc XGetWindowProperty*(para1: PDisplay, para2: Window, para3: Atom,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1512 para4: clong, para5: clong, para6: XBool, para7: Atom,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1513 para8: PAtom, para9: Pcint, para10: Pculong,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1514 para11: Pculong, para12: PPcuchar): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1515 proc XGetWindowAttributes*(para1: PDisplay, para2: Window,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1516 para3: PXWindowAttributes): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1517 proc XGrabButton*(para1: PDisplay, para2: cuint, para3: cuint, para4: Window,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1518 para5: XBool, para6: cuint, para7: cint, para8: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1519 para9: Window, para10: Cursor): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1520 proc XGrabKey*(para1: PDisplay, para2: cint, para3: cuint, para4: Window,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1521 para5: XBool, para6: cint, para7: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1522 proc XGrabKeyboard*(para1: PDisplay, para2: Window, para3: XBool, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1523 para5: cint, para6: Time): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1524 proc XGrabPointer*(para1: PDisplay, para2: Window, para3: XBool, para4: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1525 para5: cint, para6: cint, para7: Window, para8: Cursor,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1526 para9: Time): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1527 proc XGrabServer*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1528 proc XHeightMMOfScreen*(para1: PScreen): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1529 proc XHeightOfScreen*(para1: PScreen): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1530 proc XIfEvent*(para1: PDisplay, para2: PXEvent, para3: funcifevent,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1531 para4: XPointer): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1532 proc XImageByteOrder*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1533 proc XInstallColormap*(para1: PDisplay, para2: Colormap): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1534 proc XKeysymToKeycode*(para1: PDisplay, para2: KeySym): KeyCode{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1535 proc XKillClient*(para1: PDisplay, para2: XID): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1536 proc XLookupColor*(para1: PDisplay, para2: Colormap, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1537 para4: PXColor, para5: PXColor): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1538 proc XLowerWindow*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1539 proc XMapRaised*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1540 proc XMapSubwindows*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1541 proc XMapWindow*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1542 proc XMaskEvent*(para1: PDisplay, para2: clong, para3: PXEvent): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1543 proc XMaxCmapsOfScreen*(para1: PScreen): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1544 proc XMinCmapsOfScreen*(para1: PScreen): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1545 proc XMoveResizeWindow*(para1: PDisplay, para2: Window, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1546 para4: cint, para5: cuint, para6: cuint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1547 proc XMoveWindow*(para1: PDisplay, para2: Window, para3: cint, para4: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1548 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1549 proc XNextEvent*(para1: PDisplay, para2: PXEvent): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1550 proc XNoOp*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1551 proc XParseColor*(para1: PDisplay, para2: Colormap, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1552 para4: PXColor): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1553 proc XParseGeometry*(para1: cstring, para2: Pcint, para3: Pcint, para4: Pcuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1554 para5: Pcuint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1555 proc XPeekEvent*(para1: PDisplay, para2: PXEvent): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1556 proc XPeekIfEvent*(para1: PDisplay, para2: PXEvent, para3: funcifevent,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1557 para4: XPointer): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1558 proc XPending*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1559 proc XPlanesOfScreen*(para1: PScreen): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1560 proc XProtocolRevision*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1561 proc XProtocolVersion*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1562 proc XPutBackEvent*(para1: PDisplay, para2: PXEvent): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1563 proc XPutImage*(para1: PDisplay, para2: Drawable, para3: GC, para4: PXImage,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1564 para5: cint, para6: cint, para7: cint, para8: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1565 para9: cuint, para10: cuint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1566 proc XQLength*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1567 proc XQueryBestCursor*(para1: PDisplay, para2: Drawable, para3: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1568 para4: cuint, para5: Pcuint, para6: Pcuint): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1569 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1570 proc XQueryBestSize*(para1: PDisplay, para2: cint, para3: Drawable,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1571 para4: cuint, para5: cuint, para6: Pcuint, para7: Pcuint): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1572 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1573 proc XQueryBestStipple*(para1: PDisplay, para2: Drawable, para3: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1574 para4: cuint, para5: Pcuint, para6: Pcuint): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1575 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1576 proc XQueryBestTile*(para1: PDisplay, para2: Drawable, para3: cuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1577 para4: cuint, para5: Pcuint, para6: Pcuint): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1578 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1579 proc XQueryColor*(para1: PDisplay, para2: Colormap, para3: PXColor): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1580 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1581 proc XQueryColors*(para1: PDisplay, para2: Colormap, para3: PXColor,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1582 para4: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1583 proc XQueryExtension*(para1: PDisplay, para2: cstring, para3: Pcint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1584 para4: Pcint, para5: Pcint): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1585 #?
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1586 proc XQueryKeymap*(para1: PDisplay, para2: chararr32): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1587 proc XQueryPointer*(para1: PDisplay, para2: Window, para3: PWindow,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1588 para4: PWindow, para5: Pcint, para6: Pcint, para7: Pcint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1589 para8: Pcint, para9: Pcuint): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1590 proc XQueryTextExtents*(para1: PDisplay, para2: XID, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1591 para4: cint, para5: Pcint, para6: Pcint, para7: Pcint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1592 para8: PXCharStruct): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1593 proc XQueryTextExtents16*(para1: PDisplay, para2: XID, para3: PXChar2b,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1594 para4: cint, para5: Pcint, para6: Pcint, para7: Pcint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1595 para8: PXCharStruct): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1596 proc XQueryTree*(para1: PDisplay, para2: Window, para3: PWindow,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1597 para4: PWindow, para5: PPWindow, para6: Pcuint): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1598 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1599 proc XRaiseWindow*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1600 proc XReadBitmapFile*(para1: PDisplay, para2: Drawable, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1601 para4: Pcuint, para5: Pcuint, para6: PPixmap,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1602 para7: Pcint, para8: Pcint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1603 proc XReadBitmapFileData*(para1: cstring, para2: Pcuint, para3: Pcuint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1604 para4: PPcuchar, para5: Pcint, para6: Pcint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1605 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1606 proc XRebindKeysym*(para1: PDisplay, para2: KeySym, para3: PKeySym,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1607 para4: cint, para5: Pcuchar, para6: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1608 proc XRecolorCursor*(para1: PDisplay, para2: Cursor, para3: PXColor,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1609 para4: PXColor): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1610 proc XRefreshKeyboardMapping*(para1: PXMappingEvent): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1611 proc XRemoveFromSaveSet*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1612 proc XRemoveHost*(para1: PDisplay, para2: PXHostAddress): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1613 proc XRemoveHosts*(para1: PDisplay, para2: PXHostAddress, para3: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1614 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1615 proc XReparentWindow*(para1: PDisplay, para2: Window, para3: Window,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1616 para4: cint, para5: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1617 proc XResetScreenSaver*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1618 proc XResizeWindow*(para1: PDisplay, para2: Window, para3: cuint, para4: cuint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1619 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1620 proc XRestackWindows*(para1: PDisplay, para2: PWindow, para3: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1621 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1622 proc XRotateBuffers*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1623 proc XRotateWindowProperties*(para1: PDisplay, para2: Window, para3: PAtom,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1624 para4: cint, para5: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1625 proc XScreenCount*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1626 proc XSelectInput*(para1: PDisplay, para2: Window, para3: clong): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1627 proc XSendEvent*(para1: PDisplay, para2: Window, para3: XBool, para4: clong,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1628 para5: PXEvent): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1629 proc XSetAccessControl*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1630 proc XSetArcMode*(para1: PDisplay, para2: GC, para3: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1631 proc XSetBackground*(para1: PDisplay, para2: GC, para3: culong): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1632 proc XSetClipMask*(para1: PDisplay, para2: GC, para3: Pixmap): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1633 proc XSetClipOrigin*(para1: PDisplay, para2: GC, para3: cint, para4: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1634 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1635 proc XSetClipRectangles*(para1: PDisplay, para2: GC, para3: cint, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1636 para5: PXRectangle, para6: cint, para7: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1637 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1638 proc XSetCloseDownMode*(para1: PDisplay, para2: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1639 proc XSetCommand*(para1: PDisplay, para2: Window, para3: PPchar, para4: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1640 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1641 proc XSetDashes*(para1: PDisplay, para2: GC, para3: cint, para4: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1642 para5: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1643 proc XSetFillRule*(para1: PDisplay, para2: GC, para3: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1644 proc XSetFillStyle*(para1: PDisplay, para2: GC, para3: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1645 proc XSetFont*(para1: PDisplay, para2: GC, para3: Font): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1646 proc XSetFontPath*(para1: PDisplay, para2: PPchar, para3: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1647 proc XSetForeground*(para1: PDisplay, para2: GC, para3: culong): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1648 proc XSetFunction*(para1: PDisplay, para2: GC, para3: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1649 proc XSetGraphicsExposures*(para1: PDisplay, para2: GC, para3: XBool): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1650 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1651 proc XSetIconName*(para1: PDisplay, para2: Window, para3: cstring): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1652 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1653 proc XSetInputFocus*(para1: PDisplay, para2: Window, para3: cint, para4: Time): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1654 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1655 proc XSetLineAttributes*(para1: PDisplay, para2: GC, para3: cuint, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1656 para5: cint, para6: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1657 proc XSetModifierMapping*(para1: PDisplay, para2: PXModifierKeymap): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1658 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1659 proc XSetPlaneMask*(para1: PDisplay, para2: GC, para3: culong): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1660 proc XSetPointerMapping*(para1: PDisplay, para2: Pcuchar, para3: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1661 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1662 proc XSetScreenSaver*(para1: PDisplay, para2: cint, para3: cint, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1663 para5: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1664 proc XSetSelectionOwner*(para1: PDisplay, para2: Atom, para3: Window,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1665 para4: Time): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1666 proc XSetState*(para1: PDisplay, para2: GC, para3: culong, para4: culong,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1667 para5: cint, para6: culong): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1668 proc XSetStipple*(para1: PDisplay, para2: GC, para3: Pixmap): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1669 proc XSetSubwindowMode*(para1: PDisplay, para2: GC, para3: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1670 proc XSetTSOrigin*(para1: PDisplay, para2: GC, para3: cint, para4: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1671 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1672 proc XSetTile*(para1: PDisplay, para2: GC, para3: Pixmap): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1673 proc XSetWindowBackground*(para1: PDisplay, para2: Window, para3: culong): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1674 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1675 proc XSetWindowBackgroundPixmap*(para1: PDisplay, para2: Window, para3: Pixmap): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1676 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1677 proc XSetWindowBorder*(para1: PDisplay, para2: Window, para3: culong): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1678 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1679 proc XSetWindowBorderPixmap*(para1: PDisplay, para2: Window, para3: Pixmap): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1680 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1681 proc XSetWindowBorderWidth*(para1: PDisplay, para2: Window, para3: cuint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1682 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1683 proc XSetWindowColormap*(para1: PDisplay, para2: Window, para3: Colormap): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1684 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1685 proc XStoreBuffer*(para1: PDisplay, para2: cstring, para3: cint, para4: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1686 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1687 proc XStoreBytes*(para1: PDisplay, para2: cstring, para3: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1688 proc XStoreColor*(para1: PDisplay, para2: Colormap, para3: PXColor): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1689 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1690 proc XStoreColors*(para1: PDisplay, para2: Colormap, para3: PXColor,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1691 para4: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1692 proc XStoreName*(para1: PDisplay, para2: Window, para3: cstring): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1693 proc XStoreNamedColor*(para1: PDisplay, para2: Colormap, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1694 para4: culong, para5: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1695 proc XSync*(para1: PDisplay, para2: XBool): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1696 proc XTextExtents*(para1: PXFontStruct, para2: cstring, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1697 para4: Pcint, para5: Pcint, para6: Pcint, para7: PXCharStruct): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1698 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1699 proc XTextExtents16*(para1: PXFontStruct, para2: PXChar2b, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1700 para4: Pcint, para5: Pcint, para6: Pcint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1701 para7: PXCharStruct): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1702 proc XTextWidth*(para1: PXFontStruct, para2: cstring, para3: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1703 proc XTextWidth16*(para1: PXFontStruct, para2: PXChar2b, para3: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1704 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1705 proc XTranslateCoordinates*(para1: PDisplay, para2: Window, para3: Window,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1706 para4: cint, para5: cint, para6: Pcint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1707 para7: Pcint, para8: PWindow): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1708 proc XUndefineCursor*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1709 proc XUngrabButton*(para1: PDisplay, para2: cuint, para3: cuint, para4: Window): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1710 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1711 proc XUngrabKey*(para1: PDisplay, para2: cint, para3: cuint, para4: Window): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1712 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1713 proc XUngrabKeyboard*(para1: PDisplay, para2: Time): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1714 proc XUngrabPointer*(para1: PDisplay, para2: Time): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1715 proc XUngrabServer*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1716 proc XUninstallColormap*(para1: PDisplay, para2: Colormap): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1717 proc XUnloadFont*(para1: PDisplay, para2: Font): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1718 proc XUnmapSubwindows*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1719 proc XUnmapWindow*(para1: PDisplay, para2: Window): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1720 proc XVendorRelease*(para1: PDisplay): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1721 proc XWarpPointer*(para1: PDisplay, para2: Window, para3: Window, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1722 para5: cint, para6: cuint, para7: cuint, para8: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1723 para9: cint): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1724 proc XWidthMMOfScreen*(para1: PScreen): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1725 proc XWidthOfScreen*(para1: PScreen): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1726 proc XWindowEvent*(para1: PDisplay, para2: Window, para3: clong, para4: PXEvent): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1727 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1728 proc XWriteBitmapFile*(para1: PDisplay, para2: cstring, para3: Pixmap,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1729 para4: cuint, para5: cuint, para6: cint, para7: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1730 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1731 proc XSupportsLocale*(): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1732 proc XSetLocaleModifiers*(para1: cstring): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1733 proc XOpenOM*(para1: PDisplay, para2: PXrmHashBucketRec, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1734 para4: cstring): XOM{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1735 proc XCloseOM*(para1: XOM): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1736 proc XSetOMValues*(para1: XOM): cstring{.varargs, libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1737 proc XGetOMValues*(para1: XOM): cstring{.varargs, libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1738 proc XDisplayOfOM*(para1: XOM): PDisplay{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1739 proc XLocaleOfOM*(para1: XOM): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1740 proc XCreateOC*(para1: XOM): XOC{.varargs, libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1741 proc XDestroyOC*(para1: XOC){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1742 proc XOMOfOC*(para1: XOC): XOM{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1743 proc XSetOCValues*(para1: XOC): cstring{.varargs, libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1744 proc XGetOCValues*(para1: XOC): cstring{.varargs, libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1745 proc XCreateFontSet*(para1: PDisplay, para2: cstring, para3: PPPchar,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1746 para4: Pcint, para5: PPchar): XFontSet{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1747 proc XFreeFontSet*(para1: PDisplay, para2: XFontSet){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1748 proc XFontsOfFontSet*(para1: XFontSet, para2: PPPXFontStruct, para3: PPPchar): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1749 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1750 proc XBaseFontNameListOfFontSet*(para1: XFontSet): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1751 proc XLocaleOfFontSet*(para1: XFontSet): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1752 proc XContextDependentDrawing*(para1: XFontSet): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1753 proc XDirectionalDependentDrawing*(para1: XFontSet): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1754 proc XContextualDrawing*(para1: XFontSet): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1755 proc XExtentsOfFontSet*(para1: XFontSet): PXFontSetExtents{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1756 proc XmbTextEscapement*(para1: XFontSet, para2: cstring, para3: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1757 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1758 proc XwcTextEscapement*(para1: XFontSet, para2: PWideChar, para3: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1759 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1760 proc Xutf8TextEscapement*(para1: XFontSet, para2: cstring, para3: cint): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1761 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1762 proc XmbTextExtents*(para1: XFontSet, para2: cstring, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1763 para4: PXRectangle, para5: PXRectangle): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1764 proc XwcTextExtents*(para1: XFontSet, para2: PWideChar, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1765 para4: PXRectangle, para5: PXRectangle): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1766 proc Xutf8TextExtents*(para1: XFontSet, para2: cstring, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1767 para4: PXRectangle, para5: PXRectangle): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1768 proc XmbTextPerCharExtents*(para1: XFontSet, para2: cstring, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1769 para4: PXRectangle, para5: PXRectangle, para6: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1770 para7: Pcint, para8: PXRectangle, para9: PXRectangle): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1771 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1772 proc XwcTextPerCharExtents*(para1: XFontSet, para2: PWideChar, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1773 para4: PXRectangle, para5: PXRectangle, para6: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1774 para7: Pcint, para8: PXRectangle, para9: PXRectangle): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1775 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1776 proc Xutf8TextPerCharExtents*(para1: XFontSet, para2: cstring, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1777 para4: PXRectangle, para5: PXRectangle,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1778 para6: cint, para7: Pcint, para8: PXRectangle,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1779 para9: PXRectangle): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1780 proc XmbDrawText*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1781 para5: cint, para6: PXmbTextItem, para7: cint){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1782 proc XwcDrawText*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1783 para5: cint, para6: PXwcTextItem, para7: cint){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1784 proc Xutf8DrawText*(para1: PDisplay, para2: Drawable, para3: GC, para4: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1785 para5: cint, para6: PXmbTextItem, para7: cint){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1786 proc XmbDrawString*(para1: PDisplay, para2: Drawable, para3: XFontSet,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1787 para4: GC, para5: cint, para6: cint, para7: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1788 para8: cint){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1789 proc XwcDrawString*(para1: PDisplay, para2: Drawable, para3: XFontSet,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1790 para4: GC, para5: cint, para6: cint, para7: PWideChar,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1791 para8: cint){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1792 proc Xutf8DrawString*(para1: PDisplay, para2: Drawable, para3: XFontSet,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1793 para4: GC, para5: cint, para6: cint, para7: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1794 para8: cint){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1795 proc XmbDrawImageString*(para1: PDisplay, para2: Drawable, para3: XFontSet,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1796 para4: GC, para5: cint, para6: cint, para7: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1797 para8: cint){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1798 proc XwcDrawImageString*(para1: PDisplay, para2: Drawable, para3: XFontSet,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1799 para4: GC, para5: cint, para6: cint, para7: PWideChar,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1800 para8: cint){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1801 proc Xutf8DrawImageString*(para1: PDisplay, para2: Drawable, para3: XFontSet,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1802 para4: GC, para5: cint, para6: cint, para7: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1803 para8: cint){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1804 proc XOpenIM*(para1: PDisplay, para2: PXrmHashBucketRec, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1805 para4: cstring): XIM{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1806 proc XCloseIM*(para1: XIM): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1807 proc XGetIMValues*(para1: XIM): cstring{.varargs, libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1808 proc XSetIMValues*(para1: XIM): cstring{.varargs, libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1809 proc XDisplayOfIM*(para1: XIM): PDisplay{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1810 proc XLocaleOfIM*(para1: XIM): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1811 proc XCreateIC*(para1: XIM): XIC{.varargs, libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1812 proc XDestroyIC*(para1: XIC){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1813 proc XSetICFocus*(para1: XIC){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1814 proc XUnsetICFocus*(para1: XIC){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1815 proc XwcResetIC*(para1: XIC): PWideChar{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1816 proc XmbResetIC*(para1: XIC): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1817 proc Xutf8ResetIC*(para1: XIC): cstring{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1818 proc XSetICValues*(para1: XIC): cstring{.varargs, libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1819 proc XGetICValues*(para1: XIC): cstring{.varargs, libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1820 proc XIMOfIC*(para1: XIC): XIM{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1821 proc XFilterEvent*(para1: PXEvent, para2: Window): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1822 proc XmbLookupString*(para1: XIC, para2: PXKeyPressedEvent, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1823 para4: cint, para5: PKeySym, para6: PStatus): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1824 proc XwcLookupString*(para1: XIC, para2: PXKeyPressedEvent, para3: PWideChar,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1825 para4: cint, para5: PKeySym, para6: PStatus): cint{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1826 proc Xutf8LookupString*(para1: XIC, para2: PXKeyPressedEvent, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1827 para4: cint, para5: PKeySym, para6: PStatus): cint{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1828 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1829 proc XVaCreateNestedList*(unused: cint): XVaNestedList{.varargs, libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1830 proc XRegisterIMInstantiateCallback*(para1: PDisplay, para2: PXrmHashBucketRec,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1831 para3: cstring, para4: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1832 para5: XIDProc, para6: XPointer): XBool{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1833 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1834 proc XUnregisterIMInstantiateCallback*(para1: PDisplay,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1835 para2: PXrmHashBucketRec, para3: cstring,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1836 para4: cstring, para5: XIDProc,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1837 para6: XPointer): XBool{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1838 type
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1839 XConnectionWatchProc* = proc (para1: PDisplay, para2: XPointer, para3: cint,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1840 para4: XBool, para5: PXPointer){.cdecl.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1841
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1842 proc XInternalConnectionNumbers*(para1: PDisplay, para2: PPcint, para3: Pcint): Status{.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1843 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1844 proc XProcessInternalConnection*(para1: PDisplay, para2: cint){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1845 proc XAddConnectionWatch*(para1: PDisplay, para2: XConnectionWatchProc,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1846 para3: XPointer): Status{.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1847 proc XRemoveConnectionWatch*(para1: PDisplay, para2: XConnectionWatchProc,
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1848 para3: XPointer){.libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1849 proc XSetAuthorization*(para1: cstring, para2: cint, para3: cstring, para4: cint){.
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1850 libx11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1851 #
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1852 # _Xmbtowc?
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1853 # _Xwctomb?
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1854 #
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1855 proc XGetEventData*(para1: PDisplay, para2: PXGenericEventCookie): XBool {.libX11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1856 proc XFreeEventData*(para1: PDisplay, para2: PXGenericEventCookie) {.libX11.}
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1857 #when defined(MACROS):
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1858 proc ConnectionNumber*(dpy: PDisplay): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1859 proc RootWindow*(dpy: PDisplay, scr: cint): Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1860 proc DefaultScreen*(dpy: PDisplay): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1861 proc DefaultRootWindow*(dpy: PDisplay): Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1862 proc DefaultVisual*(dpy: PDisplay, scr: cint): PVisual
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1863 proc DefaultGC*(dpy: PDisplay, scr: cint): GC
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1864 proc BlackPixel*(dpy: PDisplay, scr: cint): culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1865 proc WhitePixel*(dpy: PDisplay, scr: cint): culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1866 proc QLength*(dpy: PDisplay): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1867 proc DisplayWidth*(dpy: PDisplay, scr: cint): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1868 proc DisplayHeight*(dpy: PDisplay, scr: cint): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1869 proc DisplayWidthMM*(dpy: PDisplay, scr: cint): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1870 proc DisplayHeightMM*(dpy: PDisplay, scr: cint): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1871 proc DisplayPlanes*(dpy: PDisplay, scr: cint): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1872 proc DisplayCells*(dpy: PDisplay, scr: cint): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1873 proc ScreenCount*(dpy: PDisplay): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1874 proc ServerVendor*(dpy: PDisplay): cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1875 proc ProtocolVersion*(dpy: PDisplay): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1876 proc ProtocolRevision*(dpy: PDisplay): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1877 proc VendorRelease*(dpy: PDisplay): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1878 proc DisplayString*(dpy: PDisplay): cstring
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1879 proc DefaultDepth*(dpy: PDisplay, scr: cint): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1880 proc DefaultColormap*(dpy: PDisplay, scr: cint): Colormap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1881 proc BitmapUnit*(dpy: PDisplay): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1882 proc BitmapBitOrder*(dpy: PDisplay): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1883 proc BitmapPad*(dpy: PDisplay): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1884 proc ImageByteOrder*(dpy: PDisplay): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1885 proc NextRequest*(dpy: PDisplay): culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1886 proc LastKnownRequestProcessed*(dpy: PDisplay): culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1887 proc ScreenOfDisplay*(dpy: PDisplay, scr: cint): PScreen
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1888 proc DefaultScreenOfDisplay*(dpy: PDisplay): PScreen
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1889 proc DisplayOfScreen*(s: PScreen): PDisplay
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1890 proc RootWindowOfScreen*(s: PScreen): Window
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1891 proc BlackPixelOfScreen*(s: PScreen): culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1892 proc WhitePixelOfScreen*(s: PScreen): culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1893 proc DefaultColormapOfScreen*(s: PScreen): Colormap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1894 proc DefaultDepthOfScreen*(s: PScreen): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1895 proc DefaultGCOfScreen*(s: PScreen): GC
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1896 proc DefaultVisualOfScreen*(s: PScreen): PVisual
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1897 proc WidthOfScreen*(s: PScreen): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1898 proc HeightOfScreen*(s: PScreen): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1899 proc WidthMMOfScreen*(s: PScreen): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1900 proc HeightMMOfScreen*(s: PScreen): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1901 proc PlanesOfScreen*(s: PScreen): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1902 proc CellsOfScreen*(s: PScreen): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1903 proc MinCmapsOfScreen*(s: PScreen): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1904 proc MaxCmapsOfScreen*(s: PScreen): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1905 proc DoesSaveUnders*(s: PScreen): XBool
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1906 proc DoesBackingStore*(s: PScreen): cint
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1907 proc EventMaskOfScreen*(s: PScreen): clong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1908 proc XAllocID*(dpy: PDisplay): XID
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1909 # implementation
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1910
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1911 #when defined(MACROS):
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1912 template privDisp: untyped = cast[PXPrivDisplay](dpy)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1913
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1914 proc ConnectionNumber(dpy: PDisplay): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1915 privDisp.fd
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1916
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1917 proc RootWindow(dpy: PDisplay, scr: cint): Window =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1918 ScreenOfDisplay(dpy, scr).root
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1919
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1920 proc DefaultScreen(dpy: PDisplay): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1921 privDisp.default_screen
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1922
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1923 proc DefaultRootWindow(dpy: PDisplay): Window =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1924 ScreenOfDisplay(dpy, DefaultScreen(dpy)).root
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1925
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1926 proc DefaultVisual(dpy: PDisplay, scr: cint): PVisual =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1927 ScreenOfDisplay(dpy, scr).root_visual
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1928
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1929 proc DefaultGC(dpy: PDisplay, scr: cint): GC =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1930 ScreenOfDisplay(dpy, scr).default_gc
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1931
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1932 proc BlackPixel(dpy: PDisplay, scr: cint): culong =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1933 ScreenOfDisplay(dpy, scr).black_pixel
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1934
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1935 proc WhitePixel(dpy: PDisplay, scr: cint): culong =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1936 ScreenOfDisplay(dpy, scr).white_pixel
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1937
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1938 proc QLength(dpy: PDisplay): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1939 privDisp.qlen
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1940
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1941 proc DisplayWidth(dpy: PDisplay, scr: cint): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1942 ScreenOfDisplay(dpy, scr).width
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1943
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1944 proc DisplayHeight(dpy: PDisplay, scr: cint): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1945 ScreenOfDisplay(dpy, scr).height
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1946
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1947 proc DisplayWidthMM(dpy: PDisplay, scr: cint): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1948 ScreenOfDisplay(dpy, scr).mwidth
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1949
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1950 proc DisplayHeightMM(dpy: PDisplay, scr: cint): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1951 ScreenOfDisplay(dpy, scr).mheight
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1952
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1953 proc DisplayPlanes(dpy: PDisplay, scr: cint): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1954 ScreenOfDisplay(dpy, scr).root_depth
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1955
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1956 proc DisplayCells(dpy: PDisplay, scr: cint): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1957 DefaultVisual(dpy, scr).map_entries
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1958
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1959 proc ScreenCount(dpy: PDisplay): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1960 privDisp.nscreens
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1961
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1962 proc ServerVendor(dpy: PDisplay): cstring =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1963 privDisp.vendor
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1964
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1965 proc ProtocolVersion(dpy: PDisplay): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1966 privDisp.proto_major_version
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1967
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1968 proc ProtocolRevision(dpy: PDisplay): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1969 privDisp.proto_minor_version
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1970
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1971 proc VendorRelease(dpy: PDisplay): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1972 privDisp.release
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1973
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1974 proc DisplayString(dpy: PDisplay): cstring =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1975 privDisp.display_name
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1976
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1977 proc DefaultDepth(dpy: PDisplay, scr: cint): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1978 ScreenOfDisplay(dpy, scr).root_depth
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1979
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1980 proc DefaultColormap(dpy: PDisplay, scr: cint): Colormap =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1981 ScreenOfDisplay(dpy, scr).cmap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1982
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1983 proc BitmapUnit(dpy: PDisplay): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1984 privDisp.bitmap_unit
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1985
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1986 proc BitmapBitOrder(dpy: PDisplay): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1987 privDisp.bitmap_bit_order
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1988
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1989 proc BitmapPad(dpy: PDisplay): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1990 privDisp.bitmap_pad
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1991
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1992 proc ImageByteOrder(dpy: PDisplay): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1993 privDisp.byte_order
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1994
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1995 proc NextRequest(dpy: PDisplay): culong =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1996 privDisp.request + 1.culong
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1997
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1998 proc LastKnownRequestProcessed(dpy: PDisplay): culong =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
1999 privDisp.last_request_read
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2000
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2001 # from fowltek/pointer_arithm, required for ScreenOfDisplay()
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2002 proc offset[A] (some: ptr A; b: int): ptr A =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2003 cast[ptr A](cast[int](some) + (b * sizeof(A)))
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2004 proc ScreenOfDisplay(dpy: PDisplay, scr: cint): PScreen =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2005 #addr(((privDisp.screens)[scr]))
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2006 privDisp.screens.offset(scr.int)
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2007
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2008 proc DefaultScreenOfDisplay(dpy: PDisplay): PScreen =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2009 ScreenOfDisplay(dpy, DefaultScreen(dpy))
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2010
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2011 proc DisplayOfScreen(s: PScreen): PDisplay =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2012 s.display
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2013
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2014 proc RootWindowOfScreen(s: PScreen): Window =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2015 s.root
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2016
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2017 proc BlackPixelOfScreen(s: PScreen): culong =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2018 s.black_pixel
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2019
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2020 proc WhitePixelOfScreen(s: PScreen): culong =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2021 s.white_pixel
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2022
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2023 proc DefaultColormapOfScreen(s: PScreen): Colormap =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2024 s.cmap
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2025
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2026 proc DefaultDepthOfScreen(s: PScreen): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2027 s.root_depth
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2028
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2029 proc DefaultGCOfScreen(s: PScreen): GC =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2030 s.default_gc
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2031
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2032 proc DefaultVisualOfScreen(s: PScreen): PVisual =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2033 s.root_visual
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2034
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2035 proc WidthOfScreen(s: PScreen): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2036 s.width
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2037
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2038 proc HeightOfScreen(s: PScreen): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2039 s.height
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2040
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2041 proc WidthMMOfScreen(s: PScreen): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2042 s.mwidth
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2043
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2044 proc HeightMMOfScreen(s: PScreen): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2045 s.mheight
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2046
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2047 proc PlanesOfScreen(s: PScreen): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2048 s.root_depth
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2049
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2050 proc CellsOfScreen(s: PScreen): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2051 DefaultVisualOfScreen(s).map_entries
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2052
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2053 proc MinCmapsOfScreen(s: PScreen): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2054 s.min_maps
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2055
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2056 proc MaxCmapsOfScreen(s: PScreen): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2057 s.max_maps
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2058
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2059 proc DoesSaveUnders(s: PScreen): XBool =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2060 s.save_unders
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2061
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2062 proc DoesBackingStore(s: PScreen): cint =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2063 s.backing_store
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2064
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2065 proc EventMaskOfScreen(s: PScreen): clong =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2066 s.root_input_mask
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2067
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2068 proc XAllocID(dpy: PDisplay): XID =
239adab121a3 sync from bedroom to office
sam <sam@basx.dev>
parents:
diff changeset
2069 privDisp.resource_alloc(dpy)