VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.6.99-20090831/xfixesint.h@ 40349

最後變更 在這個檔案從40349是 22658,由 vboxsync 提交於 15 年 前

export Xorg 1.6.99 headers to OSE

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

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