1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
|
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <X11/Xproto.h>
#include <X11/Xlib.h>
#include "private.h"
WL_EXPORT Colormap
XCreateColormap(Display *xdisplay,
Window w, Visual* visual, int alloc)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_CreateColormap, 0);
STUB();
return 1;
}
WL_EXPORT int
XFreeColormap(Display *xdisplay, Colormap colormap)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_FreeColormap, 0);
STUB();
return 1;
}
WL_EXPORT Colormap
XCopyColormapAndFree(Display *xdisplay, Colormap colormap)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_CopyColormapAndFree, 0);
STUB();
return 1;
}
WL_EXPORT int
XInstallColormap(Display *xdisplay, Colormap colormap)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_InstallColormap, 0);
STUB();
return 1;
}
WL_EXPORT int
XUninstallColormap(Display *xdisplay, Colormap colormap)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_UninstallColormap, 0);
STUB();
return 1;
}
WL_EXPORT Colormap *
XListInstalledColormaps(Display *xdisplay, Window w, int *num)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_ListInstalledColormaps, 0);
STUB();
return NULL;
}
WL_EXPORT Status
XAllocColor(Display *xdisplay, Colormap colormap, XColor *screen)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_AllocColor, 0);
STUB();
return 1;
}
WL_EXPORT Status
XAllocNamedColor(Display *xdisplay,
Colormap colormap,
const char *color_name,
XColor *screen_def,
XColor *exact_def)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_AllocNamedColor, 0);
STUB();
return 1;
}
WL_EXPORT Status
XAllocColorCells(Display *xdisplay,
Colormap colormap,
Bool contig,
unsigned long* plane_masks_return,
unsigned int nplanes,
unsigned long* pixels_return,
unsigned int npixels)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_AllocColorCells, 0);
STUB();
return 1;
}
WL_EXPORT Status
XAllocColorPlanes(Display *xdisplay,
Colormap colormap,
Bool contig,
unsigned long *pixels_return,
int ncolors,
int nreds,
int ngreens,
int nblues,
unsigned long *rmask_return,
unsigned long *gmask_return,
unsigned long *bmask_return)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_AllocColorPlanes, 0);
STUB();
return 1;
}
WL_EXPORT int
XFreeColors(Display *xdisplay,
Colormap colormap,
unsigned long* pixels,
int npixels,
unsigned long planes)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_FreeColors, 0);
STUB();
return 1;
}
WL_EXPORT int
XStoreColors(Display *xdisplay, Colormap colormap, XColor *color, int ncolors)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_StoreColors, 0);
STUB();
return 1;
}
WL_EXPORT int
XStoreNamedColor(Display *xdisplay,
Colormap colormap,
_Xconst char* color,
unsigned long pixel,
int flags)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_StoreNamedColor, 0);
STUB();
return 1;
}
WL_EXPORT int
XQueryColors(Display *xdisplay,
Colormap colormap, XColor *defs, int ncolors)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_QueryColors, 0);
STUB();
return 1;
}
WL_EXPORT Status
XLookupColor(Display *xdisplay,
Colormap colormap,
_Xconst char* color_name,
XColor* exact_def_return,
XColor* screen_def_return)
{
struct csx_display *display = csx_display(xdisplay);
csx_display_enter(display, X_LookupColor, 0);
STUB();
return 1;
}
|