4 * software-sprite/sprite drawing interface spec
6 * mi versions of these routines exist.
11 Copyright 1989, 1998 The Open Group
13 Permission to use, copy, modify, distribute, and sell this software and its
14 documentation for any purpose is hereby granted without fee, provided that
15 the above copyright notice appear in all copies and that both that
16 copyright notice and this permission notice appear in supporting
19 The above copyright notice and this permission notice shall be included in
20 all copies or substantial portions of the Software.
22 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
26 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 Except as contained in this notice, the name of The Open Group shall not be
30 used in advertising or otherwise to promote the sale, use or other dealings
31 in this Software without prior written authorization from The Open Group.
34 extern Bool
miSpriteInitialize(ScreenPtr
/*pScreen */ ,
35 miPointerScreenFuncPtr
/*screenFuncs */
38 extern Bool
miDCRealizeCursor(ScreenPtr pScreen
, CursorPtr pCursor
);
39 extern Bool
miDCUnrealizeCursor(ScreenPtr pScreen
, CursorPtr pCursor
);
40 extern Bool
miDCPutUpCursor(DeviceIntPtr pDev
, ScreenPtr pScreen
,
41 CursorPtr pCursor
, int x
, int y
,
42 unsigned long source
, unsigned long mask
);
43 extern Bool
miDCSaveUnderCursor(DeviceIntPtr pDev
, ScreenPtr pScreen
,
44 int x
, int y
, int w
, int h
);
45 extern Bool
miDCRestoreUnderCursor(DeviceIntPtr pDev
, ScreenPtr pScreen
,
46 int x
, int y
, int w
, int h
);
47 extern Bool
miDCDeviceInitialize(DeviceIntPtr pDev
, ScreenPtr pScreen
);
48 extern void miDCDeviceCleanup(DeviceIntPtr pDev
, ScreenPtr pScreen
);