VirtualBox

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

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