home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / server / ddx / mi / misprite.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-04-26  |  1.3 KB  |  34 lines

  1. /*
  2.  * misprite.h
  3.  *
  4.  * software-sprite/sprite drawing interface spec
  5.  *
  6.  * mi versions of these routines exist.
  7.  */
  8.  
  9. /* $XConsortium: misprite.h,v 5.3 91/04/26 21:46:02 keith Exp $ */
  10.  
  11. /*
  12. Copyright 1989 by the Massachusetts Institute of Technology
  13.  
  14. Permission to use, copy, modify, and distribute this software and its
  15. documentation for any purpose and without fee is hereby granted,
  16. provided that the above copyright notice appear in all copies and that
  17. both that copyright notice and this permission notice appear in
  18. supporting documentation, and that the name of M.I.T. not be used in
  19. advertising or publicity pertaining to distribution of the software
  20. without specific, written prior permission.  M.I.T. makes no
  21. representations about the suitability of this software for any
  22. purpose.  It is provided "as is" without express or implied warranty.
  23. */
  24.  
  25. typedef struct {
  26.     Bool    (*RealizeCursor)();    /* pScreen, pCursor */
  27.     Bool    (*UnrealizeCursor)();    /* pScreen, pCursor */
  28.     Bool    (*PutUpCursor)();    /* pScreen, pCursor, x, y */
  29.     Bool    (*SaveUnderCursor)();    /* pScreen, x, y, w, h */
  30.     Bool    (*RestoreUnderCursor)();/* pScreen, x, y, w, h */
  31.     Bool    (*MoveCursor)();    /* pScreen, pCursor, x, y, w, h, dx, dy */
  32.     Bool    (*ChangeSave)();    /* pScreen, x, y, w, h, dx, dy */
  33. } miSpriteCursorFuncRec, *miSpriteCursorFuncPtr;
  34.