VirtualBox

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

最後變更 在這個檔案從66940是 32163,由 vboxsync 提交於 14 年 前

Additions/x11/x11include: additional headers for building drivers for X.Org Server 1.9

  • 屬性 svn:eol-style 設為 native
檔案大小: 6.4 KB
 
1/*
2 * Copyright © 2006 Sun Microsystems, Inc. All rights reserved.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice (including the next
12 * paragraph) shall be included in all copies or substantial portions of the
13 * Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 * DEALINGS IN THE SOFTWARE.
22 *
23 * Copyright © 2002 Keith Packard
24 *
25 * Permission to use, copy, modify, distribute, and sell this software and its
26 * documentation for any purpose is hereby granted without fee, provided that
27 * the above copyright notice appear in all copies and that both that
28 * copyright notice and this permission notice appear in supporting
29 * documentation, and that the name of Keith Packard not be used in
30 * advertising or publicity pertaining to distribution of the software without
31 * specific, written prior permission. Keith Packard makes no
32 * representations about the suitability of this software for any purpose. It
33 * is provided "as is" without express or implied warranty.
34 *
35 * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
36 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
37 * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
38 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
39 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
40 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
41 * PERFORMANCE OF THIS SOFTWARE.
42 */
43
44#ifdef HAVE_DIX_CONFIG_H
45#include <dix-config.h>
46#endif
47
48#ifndef _XFIXESINT_H_
49#define _XFIXESINT_H_
50
51#include <X11/X.h>
52#include <X11/Xproto.h>
53#include "misc.h"
54#include "os.h"
55#include "dixstruct.h"
56#include "extnsionst.h"
57#include <X11/extensions/xfixesproto.h>
58#include "windowstr.h"
59#include "selection.h"
60#include "xfixes.h"
61
62extern int XFixesEventBase;
63
64typedef struct _XFixesClient {
65 CARD32 major_version;
66 CARD32 minor_version;
67} XFixesClientRec, *XFixesClientPtr;
68
69#define GetXFixesClient(pClient) ((XFixesClientPtr)dixLookupPrivate(&(pClient)->devPrivates, XFixesClientPrivateKey))
70
71extern int (*ProcXFixesVector[XFixesNumberRequests])(ClientPtr);
72
73/* Initialize extension at server startup time */
74
75void
76XFixesExtensionInit(void);
77
78/* Save set */
79int
80ProcXFixesChangeSaveSet(ClientPtr client);
81
82int
83SProcXFixesChangeSaveSet(ClientPtr client);
84
85/* Selection events */
86int
87ProcXFixesSelectSelectionInput (ClientPtr client);
88
89int
90SProcXFixesSelectSelectionInput (ClientPtr client);
91
92void
93SXFixesSelectionNotifyEvent (xXFixesSelectionNotifyEvent *from,
94 xXFixesSelectionNotifyEvent *to);
95Bool
96XFixesSelectionInit (void);
97
98/* Cursor notification */
99Bool
100XFixesCursorInit (void);
101
102int
103ProcXFixesSelectCursorInput (ClientPtr client);
104
105int
106SProcXFixesSelectCursorInput (ClientPtr client);
107
108void
109SXFixesCursorNotifyEvent (xXFixesCursorNotifyEvent *from,
110 xXFixesCursorNotifyEvent *to);
111
112int
113ProcXFixesGetCursorImage (ClientPtr client);
114
115int
116SProcXFixesGetCursorImage (ClientPtr client);
117
118/* Cursor names (Version 2) */
119
120int
121ProcXFixesSetCursorName (ClientPtr client);
122
123int
124SProcXFixesSetCursorName (ClientPtr client);
125
126int
127ProcXFixesGetCursorName (ClientPtr client);
128
129int
130SProcXFixesGetCursorName (ClientPtr client);
131
132int
133ProcXFixesGetCursorImageAndName (ClientPtr client);
134
135int
136SProcXFixesGetCursorImageAndName (ClientPtr client);
137
138/* Cursor replacement (Version 2) */
139
140int
141ProcXFixesChangeCursor (ClientPtr client);
142
143int
144SProcXFixesChangeCursor (ClientPtr client);
145
146int
147ProcXFixesChangeCursorByName (ClientPtr client);
148
149int
150SProcXFixesChangeCursorByName (ClientPtr client);
151
152/* Region objects (Version 2* */
153Bool
154XFixesRegionInit (void);
155
156int
157ProcXFixesCreateRegion (ClientPtr client);
158
159int
160SProcXFixesCreateRegion (ClientPtr client);
161
162int
163ProcXFixesCreateRegionFromBitmap (ClientPtr client);
164
165int
166SProcXFixesCreateRegionFromBitmap (ClientPtr client);
167
168int
169ProcXFixesCreateRegionFromWindow (ClientPtr client);
170
171int
172SProcXFixesCreateRegionFromWindow (ClientPtr client);
173
174int
175ProcXFixesCreateRegionFromGC (ClientPtr client);
176
177int
178SProcXFixesCreateRegionFromGC (ClientPtr client);
179
180int
181ProcXFixesCreateRegionFromPicture (ClientPtr client);
182
183int
184SProcXFixesCreateRegionFromPicture (ClientPtr client);
185
186int
187ProcXFixesDestroyRegion (ClientPtr client);
188
189int
190SProcXFixesDestroyRegion (ClientPtr client);
191
192int
193ProcXFixesSetRegion (ClientPtr client);
194
195int
196SProcXFixesSetRegion (ClientPtr client);
197
198int
199ProcXFixesCopyRegion (ClientPtr client);
200
201int
202SProcXFixesCopyRegion (ClientPtr client);
203
204int
205ProcXFixesCombineRegion (ClientPtr client);
206
207int
208SProcXFixesCombineRegion (ClientPtr client);
209
210int
211ProcXFixesInvertRegion (ClientPtr client);
212
213int
214SProcXFixesInvertRegion (ClientPtr client);
215
216int
217ProcXFixesTranslateRegion (ClientPtr client);
218
219int
220SProcXFixesTranslateRegion (ClientPtr client);
221
222int
223ProcXFixesRegionExtents (ClientPtr client);
224
225int
226SProcXFixesRegionExtents (ClientPtr client);
227
228int
229ProcXFixesFetchRegion (ClientPtr client);
230
231int
232SProcXFixesFetchRegion (ClientPtr client);
233
234int
235ProcXFixesSetGCClipRegion (ClientPtr client);
236
237int
238SProcXFixesSetGCClipRegion (ClientPtr client);
239
240int
241ProcXFixesSetWindowShapeRegion (ClientPtr client);
242
243int
244SProcXFixesSetWindowShapeRegion (ClientPtr client);
245
246int
247ProcXFixesSetPictureClipRegion (ClientPtr client);
248
249int
250SProcXFixesSetPictureClipRegion (ClientPtr client);
251
252int
253ProcXFixesExpandRegion (ClientPtr client);
254
255int
256SProcXFixesExpandRegion (ClientPtr client);
257
258/* Cursor Visibility (Version 4) */
259
260int
261ProcXFixesHideCursor (ClientPtr client);
262
263int
264SProcXFixesHideCursor (ClientPtr client);
265
266int
267ProcXFixesShowCursor (ClientPtr client);
268
269int
270SProcXFixesShowCursor (ClientPtr client);
271
272#endif /* _XFIXESINT_H_ */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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