4 * software-sprite/sprite drawing interface spec
6 * mi versions of these routines exist.
9 /* $XConsortium: misprite.h,v 5.5 94/04/17 20:27:55 dpw Exp $ */
13 Copyright (c) 1989 X Consortium
15 Permission is hereby granted, free of charge, to any person obtaining a copy
16 of this software and associated documentation files (the "Software"), to deal
17 in the Software without restriction, including without limitation the rights
18 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19 copies of the Software, and to permit persons to whom the Software is
20 furnished to do so, subject to the following conditions:
22 The above copyright notice and this permission notice shall be included in
23 all copies or substantial portions of the Software.
25 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
29 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
30 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 Except as contained in this notice, the name of the X Consortium shall not be
33 used in advertising or otherwise to promote the sale, use or other dealings
34 in this Software without prior written authorization from the X Consortium.
38 Bool (*RealizeCursor)(
39 #if NeedNestedPrototypes
40 ScreenPtr /*pScreen*/,
44 Bool (*UnrealizeCursor)(
45 #if NeedNestedPrototypes
46 ScreenPtr /*pScreen*/,
51 #if NeedNestedPrototypes
52 ScreenPtr /*pScreen*/,
53 CursorPtr /*pCursor*/,
56 unsigned long /*source*/,
57 unsigned long /*mask*/
60 Bool (*SaveUnderCursor)(
61 #if NeedNestedPrototypes
62 ScreenPtr /*pScreen*/,
69 Bool (*RestoreUnderCursor)(
70 #if NeedNestedPrototypes
71 ScreenPtr /*pScreen*/,
79 #if NeedNestedPrototypes
80 ScreenPtr /*pScreen*/,
81 CursorPtr /*pCursor*/,
88 unsigned long /*source*/,
89 unsigned long /*mask*/
93 #if NeedNestedPrototypes
94 ScreenPtr /*pScreen*/,
104 } miSpriteCursorFuncRec, *miSpriteCursorFuncPtr;
106 extern Bool miSpriteInitialize(
107 #if NeedFunctionPrototypes
108 ScreenPtr /*pScreen*/,
109 miSpriteCursorFuncPtr /*cursorFuncs*/,
110 miPointerScreenFuncPtr /*screenFuncs*/