home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 206.lha / Grab_Pointer / Pointer.c < prev    next >
C/C++ Source or Header  |  1988-12-28  |  990b  |  52 lines

  1. /*************************************************************************
  2. *
  3. *  Module Name : Set My Pointer Module
  4. *
  5. *  Filename    : Pointer.c
  6. *
  7. *  By          : Matthew P. Tway
  8. *
  9. *  For         : TMH Software
  10. *
  11. *  Date        : 01/27/89
  12. *
  13. *  Description : GrabPointer Version 1.0
  14. *
  15. *************************************************************************/
  16.  
  17.  
  18. #define NEWPOINTER_H 16
  19. #define NEWPOINTER_W 16
  20. #define NEWPOINTER_XOFF -6
  21. #define NEWPOINTER_YOFF -6
  22.  
  23. unsigned short NewPointer[] = {
  24.     0x0000,0x0000,         /* Position & Control */
  25.  
  26.     0x0000,0x0000,
  27.     0xc060,0x8020,
  28.     0x60c0,0xc060,
  29.     0x3180,0x60c0,
  30.     0x1b00,0x3180,
  31.     0x0e00,0x1f00,
  32.     0x0a00,0x0a00,
  33.     0x1f00,0x0e00,
  34.     0x3180,0x1b00,
  35.     0x60c0,0x3180,
  36.     0xc060,0x60c0,
  37.     0x0000,0x0000,
  38.     0x0000,0x0000,
  39.     0x0000,0x0000,
  40.     0x0000,0x0000,
  41.  
  42.     0x0000,0x0000,
  43.      } ;
  44.  
  45. mypointer(window)
  46. char *window ;
  47. {
  48. SetPointer(window,&NewPointer,
  49.             (long)NEWPOINTER_H, (long)NEWPOINTER_W,
  50.             (long)NEWPOINTER_XOFF,(long)NEWPOINTER_YOFF) ;
  51. }
  52.