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