VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/xfixesint.h@ 68495

Last change on this file since 68495 was 51223, checked in by vboxsync, 11 years ago

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • Property svn:executable set to *
File size: 5.2 KB
Line 
1/*
2 * $Id: xfixesint.h,v 1.7 2005/07/03 08:53:54 daniels Exp $
3 *
4 * Copyright © 2002 Keith Packard
5 *
6 * Permission to use, copy, modify, distribute, and sell this software and its
7 * documentation for any purpose is hereby granted without fee, provided that
8 * the above copyright notice appear in all copies and that both that
9 * copyright notice and this permission notice appear in supporting
10 * documentation, and that the name of Keith Packard not be used in
11 * advertising or publicity pertaining to distribution of the software without
12 * specific, written prior permission. Keith Packard makes no
13 * representations about the suitability of this software for any purpose. It
14 * is provided "as is" without express or implied warranty.
15 *
16 * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18 * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22 * PERFORMANCE OF THIS SOFTWARE.
23 */
24
25#ifdef HAVE_DIX_CONFIG_H
26#include <dix-config.h>
27#endif
28
29#ifndef _XFIXESINT_H_
30#define _XFIXESINT_H_
31
32#define NEED_EVENTS
33#include <X11/X.h>
34#include <X11/Xproto.h>
35#include "misc.h"
36#include "os.h"
37#include "dixstruct.h"
38#include "extnsionst.h"
39#include <X11/extensions/xfixesproto.h>
40#include "windowstr.h"
41#include "selection.h"
42#include "xfixes.h"
43
44extern unsigned char XFixesReqCode;
45extern int XFixesEventBase;
46extern int XFixesClientPrivateIndex;
47
48typedef struct _XFixesClient {
49 CARD32 major_version;
50 CARD32 minor_version;
51} XFixesClientRec, *XFixesClientPtr;
52
53#define GetXFixesClient(pClient) ((XFixesClientPtr) (pClient)->devPrivates[XFixesClientPrivateIndex].ptr)
54
55extern int (*ProcXFixesVector[XFixesNumberRequests])(ClientPtr);
56extern int (*SProcXFixesVector[XFixesNumberRequests])(ClientPtr);
57
58/* Initialize extension at server startup time */
59
60void
61XFixesExtensionInit(void);
62
63/* Save set */
64int
65ProcXFixesChangeSaveSet(ClientPtr client);
66
67int
68SProcXFixesChangeSaveSet(ClientPtr client);
69
70/* Selection events */
71int
72ProcXFixesSelectSelectionInput (ClientPtr client);
73
74int
75SProcXFixesSelectSelectionInput (ClientPtr client);
76
77void
78SXFixesSelectionNotifyEvent (xXFixesSelectionNotifyEvent *from,
79 xXFixesSelectionNotifyEvent *to);
80Bool
81XFixesSelectionInit (void);
82
83/* Cursor notification */
84Bool
85XFixesCursorInit (void);
86
87int
88ProcXFixesSelectCursorInput (ClientPtr client);
89
90int
91SProcXFixesSelectCursorInput (ClientPtr client);
92
93void
94SXFixesCursorNotifyEvent (xXFixesCursorNotifyEvent *from,
95 xXFixesCursorNotifyEvent *to);
96
97int
98ProcXFixesGetCursorImage (ClientPtr client);
99
100int
101SProcXFixesGetCursorImage (ClientPtr client);
102
103/* Cursor names (Version 2) */
104
105int
106ProcXFixesSetCursorName (ClientPtr client);
107
108int
109SProcXFixesSetCursorName (ClientPtr client);
110
111int
112ProcXFixesGetCursorName (ClientPtr client);
113
114int
115SProcXFixesGetCursorName (ClientPtr client);
116
117int
118ProcXFixesGetCursorImageAndName (ClientPtr client);
119
120int
121SProcXFixesGetCursorImageAndName (ClientPtr client);
122
123/* Cursor replacement (Version 2) */
124
125int
126ProcXFixesChangeCursor (ClientPtr client);
127
128int
129SProcXFixesChangeCursor (ClientPtr client);
130
131int
132ProcXFixesChangeCursorByName (ClientPtr client);
133
134int
135SProcXFixesChangeCursorByName (ClientPtr client);
136
137/* Region objects (Version 2* */
138Bool
139XFixesRegionInit (void);
140
141int
142ProcXFixesCreateRegion (ClientPtr client);
143
144int
145SProcXFixesCreateRegion (ClientPtr client);
146
147int
148ProcXFixesCreateRegionFromBitmap (ClientPtr client);
149
150int
151SProcXFixesCreateRegionFromBitmap (ClientPtr client);
152
153int
154ProcXFixesCreateRegionFromWindow (ClientPtr client);
155
156int
157SProcXFixesCreateRegionFromWindow (ClientPtr client);
158
159int
160ProcXFixesCreateRegionFromGC (ClientPtr client);
161
162int
163SProcXFixesCreateRegionFromGC (ClientPtr client);
164
165int
166ProcXFixesCreateRegionFromPicture (ClientPtr client);
167
168int
169SProcXFixesCreateRegionFromPicture (ClientPtr client);
170
171int
172ProcXFixesDestroyRegion (ClientPtr client);
173
174int
175SProcXFixesDestroyRegion (ClientPtr client);
176
177int
178ProcXFixesSetRegion (ClientPtr client);
179
180int
181SProcXFixesSetRegion (ClientPtr client);
182
183int
184ProcXFixesCopyRegion (ClientPtr client);
185
186int
187SProcXFixesCopyRegion (ClientPtr client);
188
189int
190ProcXFixesCombineRegion (ClientPtr client);
191
192int
193SProcXFixesCombineRegion (ClientPtr client);
194
195int
196ProcXFixesInvertRegion (ClientPtr client);
197
198int
199SProcXFixesInvertRegion (ClientPtr client);
200
201int
202ProcXFixesTranslateRegion (ClientPtr client);
203
204int
205SProcXFixesTranslateRegion (ClientPtr client);
206
207int
208ProcXFixesRegionExtents (ClientPtr client);
209
210int
211SProcXFixesRegionExtents (ClientPtr client);
212
213int
214ProcXFixesFetchRegion (ClientPtr client);
215
216int
217SProcXFixesFetchRegion (ClientPtr client);
218
219int
220ProcXFixesSetGCClipRegion (ClientPtr client);
221
222int
223SProcXFixesSetGCClipRegion (ClientPtr client);
224
225int
226ProcXFixesSetWindowShapeRegion (ClientPtr client);
227
228int
229SProcXFixesSetWindowShapeRegion (ClientPtr client);
230
231int
232ProcXFixesSetPictureClipRegion (ClientPtr client);
233
234int
235SProcXFixesSetPictureClipRegion (ClientPtr client);
236
237int
238ProcXFixesExpandRegion (ClientPtr client);
239
240int
241SProcXFixesExpandRegion (ClientPtr client);
242
243#endif /* _XFIXESINT_H_ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette