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