VirtualBox

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

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

Additions/x11/x11include: exported and set eol-style on new headers

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

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