home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d07xx / d0792.lha / DragIt / Drag.h next >
C/C++ Source or Header  |  1993-01-08  |  2KB  |  85 lines

  1. #ifndef PREFS_DRAG_H
  2. #define PREFS_DRAG_H
  3. /*
  4. **    $Id: drag.h,v 38.5 92/12/18
  5. **
  6. **    File format for drag preferences
  7. **
  8. **    (C) Copyright 1992 Silverbox Software by Steve Lemieux
  9. **    All Rights Reserved
  10. */
  11.  
  12. /*****************************************************************************/
  13.  
  14.  
  15. #ifndef EXEC_TYPES_H
  16. #include <exec/types.h>
  17. #endif
  18.  
  19. #ifndef LIBRARIES_IFFPARSE_H
  20. #include <libraries/iffparse.h>
  21. #endif
  22.  
  23.  
  24. /*****************************************************************************/
  25.  
  26.  
  27. #define MaxStr 128
  28.  
  29. #define GD_Save 0
  30. #define GD_Use 1
  31. #define GD_Cancel 2
  32. #define GD_SizeQualGadget 3
  33. #define GD_DragQualGadget 4
  34. #define GD_SizeGadget 5
  35. #define GD_DragGadget 6
  36. #define GD_CornerGadget 7
  37. #define GD_ProgPriGadget 8
  38. #define GD_HandPriGadget 9
  39. #define GD_CycleZone 10
  40. #define GD_CycleMouse 11
  41.  
  42. #define LIBVERSION 37
  43. #define Version "2.01"
  44. #define Date "18.12.92"
  45. #define Version2 "38.07"
  46.  
  47. #define DI_SIZE_LEFT 1
  48. #define DI_SIZE_RIGHT 2
  49. #define DI_SIZE_TOP 4
  50. #define DI_SIZE_BUTTOM 8
  51. #define DI_LEFTTOP DI_SIZE_LEFT | DI_SIZE_TOP
  52. #define DI_RIGHTTOP DI_SIZE_RIGHT | DI_SIZE_TOP
  53. #define DI_LEFTBUTTOM DI_SIZE_LEFT | DI_SIZE_BUTTOM
  54. #define DI_RIGHTBUTTOM DI_SIZE_RIGHT | DI_SIZE_BUTTOM
  55. #define DI_SCROLL 16
  56.  
  57. #define DRAGB_Drag 1
  58. #define DRAGF_Drag (1<<DRAGB_Drag)
  59. #define DRAGB_Size 2
  60. #define DRAGF_Size (1<<DRAGB_Size)
  61. #define DRAGB_Corner 3
  62. #define DRAGF_Corner (1<<DRAGB_Corner)
  63.  
  64. #define ID_PREF MAKE_ID('P','R','E','F')
  65. #define ID_DRAG MAKE_ID('D','R','A','G')
  66. #define ID_PRHD MAKE_ID('P','R','H','D')
  67.  
  68. struct DragPref
  69.     {
  70.     ULONG Flags;
  71.     BYTE ProgPri;
  72.     BYTE HandPri;
  73.     UBYTE DragQualFlags;
  74.     UBYTE SizeQualFlags;
  75.     UBYTE Button;
  76.     UBYTE Size[4];
  77.     UBYTE Corner1[4];
  78.     UBYTE Corner2[4];
  79.     };
  80.  
  81. /*****************************************************************************/
  82.  
  83.  
  84. #endif /* PREFS_DRAG_H */
  85.