home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / MW MPW Binaries 1.1.1a2 / mwcPPC / MWCIncludes / CursorCtl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-02  |  1.1 KB  |  64 lines  |  [TEXT/MMCC]

  1. /*
  2.     File:        CursorCtl.h
  3.  
  4.     Copyright:    © 1984-1993 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef __CURSORCTL__
  13. #define __CURSORCTL__
  14.  
  15. enum {
  16.     HIDDEN_CURSOR,
  17.     I_BEAM_CURSOR,
  18.     CROSS_CURSOR,
  19.     PLUS_CURSOR,
  20.     WATCH_CURSOR,
  21.     ARROW_CURSOR
  22. };
  23.  
  24. typedef unsigned char Cursors;
  25.  
  26. #if defined(powerc) || defined(__powerc)
  27. #pragma options align=mac68k
  28. #endif
  29. struct Acur {
  30.     short                        n;
  31.     short                        index;
  32.     short                        frame1;
  33.     short                        fill1;
  34.     short                        frame2;
  35.     short                        fill2;
  36.     short                        frameN;
  37.     short                        fillN;
  38. };
  39. #if defined(powerc) || defined(__powerc)
  40. #pragma options align=reset
  41. #endif
  42.  
  43. typedef struct Acur acur, *acurPtr, **acurHandle;
  44.  
  45. #ifdef __cplusplus
  46. extern "C" {
  47. #endif
  48.  
  49. extern pascal void InitCursorCtl(acurHandle newCursors);
  50.  
  51. extern pascal void RotateCursor(long counter);
  52.  
  53. extern pascal void SpinCursor(short increment);
  54.  
  55. extern pascal void Hide_Cursor(void);
  56.  
  57. extern pascal void Show_Cursor(Cursors cursorKind);
  58.  
  59. #ifdef __cplusplus
  60. }
  61. #endif
  62.  
  63. #endif
  64.