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