home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / os-include / prefs / pointer.i < prev    next >
Text File  |  1993-10-15  |  1KB  |  61 lines

  1.     IFND PREFS_POINTER_I
  2. PREFS_POINTER_I        SET    1
  3. **
  4. **    $VER: pointer.i 39.2 (9.6.92)
  5. **    Includes Release 40.15
  6. **
  7. **    File format for pointer preferences
  8. **
  9. **    (C) Copyright 1991-1993 Commodore-Amiga, Inc.
  10. **    All Rights Reserved
  11. **
  12.  
  13. ;---------------------------------------------------------------------------
  14.  
  15.     IFND EXEC_TYPES_I
  16.     INCLUDE "exec/types.i"
  17.     ENDC
  18.  
  19.     IFND LIBRARIES_IFFPARSE_I
  20.     INCLUDE "libraries/iffparse.i"
  21.     ENDC
  22.  
  23. ;---------------------------------------------------------------------------
  24.  
  25. ID_PNTR        equ    'PNTR'
  26.  
  27. ;---------------------------------------------------------------------------
  28.  
  29.     STRUCTURE PointerPrefs,0
  30.     STRUCT    pp_Reserved,4*4
  31.     UWORD    pp_Which                ; 0=NORMAL, 1=BUSY
  32.     UWORD    pp_Size                    ; see "intuition/pointerclass.i"
  33.     UWORD    pp_Width                ; Width in pixels
  34.     UWORD    pp_Ieight                ; Height in pixels
  35.     UWORD    pp_Depth                ; Depth
  36.     UWORD    pp_YSize                ; YSize
  37.     UWORD    pp_X, pp_Y                ; Hotspot
  38.  
  39.     ; Color Table:    numEntries = (1 << pp_Depth) - 1
  40.     ; Sprite data follows
  41.  
  42.     LABEL PointerPrefs_SIZEOF
  43.  
  44. ;---------------------------------------------------------------------------
  45.  
  46. ; constants for PointerPrefs.pp_Which
  47. WBP_NORMAL    equ    0
  48. WBP_BUSY    equ    1
  49.  
  50. ;---------------------------------------------------------------------------
  51.  
  52.     STRUCTURE RGBTable,0
  53.     UBYTE    rgbt_Red
  54.     UBYTE    rgbt_Green
  55.     UBYTE    rgbt_Blue
  56.     LABEL RGBTable_SIZEOF
  57.  
  58. ;---------------------------------------------------------------------------
  59.  
  60.     ENDC    ; PREFS_POINTER_I
  61.