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