/*
 * misprite.h
 *
 * software-sprite/sprite drawing interface spec
 *
 * mi versions of these routines exist.
 */

/* $XConsortium: misprite.h,v 5.2 89/08/30 19:24:05 keith Exp $ */

/*
Copyright 1989 by the Massachusetts Institute of Technology

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of M.I.T. not be used in
advertising or publicity pertaining to distribution of the software
without specific, written prior permission.  M.I.T. makes no
representations about the suitability of this software for any
purpose.  It is provided "as is" without express or implied warranty.
*/

typedef struct _miSpriteCursorFunc {
    Bool	(*RealizeCursor)();	/* pScreen, pCursor */
    Bool	(*UnrealizeCursor)();	/* pScreen, pCursor */
    Bool	(*PutUpCursor)();	/* pScreen, pCursor, x, y */
    Bool	(*SaveUnderCursor)();	/* pScreen, x, y, w, h */
    Bool	(*RestoreUnderCursor)();/* pScreen, x, y, w, h */
    Bool	(*MoveCursor)();	/* pScreen, pCursor, x, y, w, h, dx, dy */
    Bool	(*ChangeSave)();	/* pScreen, x, y, w, h, dx, dy */
} miSpriteCursorFuncRec, *miSpriteCursorFuncPtr;

Bool miSpriteInitialize (ScreenPtr pScreen, miSpriteCursorFuncPtr spriteFuncs,
		miPointerCursorFuncPtr pointerFuncs);
