VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/misprite.h@ 78293

Last change on this file since 78293 was 49174, checked in by vboxsync, 11 years ago

Additions/x11: replace header files for X.Org Server 1.6.0 with those for version 1.6.5 due to an ABI bump in-between.

  • Property svn:eol-style set to native
File size: 2.7 KB
Line 
1/*
2 * misprite.h
3 *
4 * software-sprite/sprite drawing interface spec
5 *
6 * mi versions of these routines exist.
7 */
8
9
10/*
11
12Copyright 1989, 1998 The Open Group
13
14Permission to use, copy, modify, distribute, and sell this software and its
15documentation for any purpose is hereby granted without fee, provided that
16the above copyright notice appear in all copies and that both that
17copyright notice and this permission notice appear in supporting
18documentation.
19
20The above copyright notice and this permission notice shall be included in
21all copies or substantial portions of the Software.
22
23THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
27AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
28CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
30Except as contained in this notice, the name of The Open Group shall not be
31used in advertising or otherwise to promote the sale, use or other dealings
32in this Software without prior written authorization from The Open Group.
33*/
34
35typedef struct {
36 Bool (*RealizeCursor)(
37 ScreenPtr /*pScreen*/,
38 CursorPtr /*pCursor*/
39);
40 Bool (*UnrealizeCursor)(
41 ScreenPtr /*pScreen*/,
42 CursorPtr /*pCursor*/
43);
44 Bool (*PutUpCursor)(
45 DeviceIntPtr /*pDev*/,
46 ScreenPtr /*pScreen*/,
47 CursorPtr /*pCursor*/,
48 int /*x*/,
49 int /*y*/,
50 unsigned long /*source*/,
51 unsigned long /*mask*/
52);
53 Bool (*SaveUnderCursor)(
54 DeviceIntPtr /*pDev*/,
55 ScreenPtr /*pScreen*/,
56 int /*x*/,
57 int /*y*/,
58 int /*w*/,
59 int /*h*/
60);
61 Bool (*RestoreUnderCursor)(
62 DeviceIntPtr /*pDev*/,
63 ScreenPtr /*pScreen*/,
64 int /*x*/,
65 int /*y*/,
66 int /*w*/,
67 int /*h*/
68);
69 Bool (*MoveCursor)(
70 DeviceIntPtr /*pDev*/,
71 ScreenPtr /*pScreen*/,
72 CursorPtr /*pCursor*/,
73 int /*x*/,
74 int /*y*/,
75 int /*w*/,
76 int /*h*/,
77 int /*dx*/,
78 int /*dy*/,
79 unsigned long /*source*/,
80 unsigned long /*mask*/
81);
82 Bool (*ChangeSave)(
83 DeviceIntPtr /*pDev*/,
84 ScreenPtr /*pScreen*/,
85 int /*x*/,
86 int /*y*/,
87 int /*w*/,
88 int /*h*/,
89 int /*dx*/,
90 int /*dy*/
91);
92 Bool (*DeviceCursorInitialize)(
93 DeviceIntPtr /*pDev*/,
94 ScreenPtr /*pScreen*/
95);
96 void (*DeviceCursorCleanup)(
97 DeviceIntPtr /*pDev*/,
98 ScreenPtr /*pScreen*/
99);
100
101} miSpriteCursorFuncRec, *miSpriteCursorFuncPtr;
102
103extern Bool miSpriteInitialize(
104 ScreenPtr /*pScreen*/,
105 miSpriteCursorFuncPtr /*cursorFuncs*/,
106 miPointerScreenFuncPtr /*screenFuncs*/
107);
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