home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / os-include / gadgets / colorwheel.h next >
C/C++ Source or Header  |  1993-10-15  |  2KB  |  65 lines

  1. #ifndef GADGETS_COLORWHEEL_H
  2. #define GADGETS_COLORWHEEL_H
  3. /*
  4. **    $VER: colorwheel.h 39.2 (22.6.92)
  5. **    Includes Release 40.15
  6. **
  7. **    Definitions for the colorwheel BOOPSI class
  8. **
  9. **    (C) Copyright 1992-1993 Commodore-Amiga Inc.
  10. **    All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15.  
  16. #ifndef UTILITY_TAGITEM_H
  17. #include <utility/tagitem.h>
  18. #endif
  19.  
  20.  
  21. /*****************************************************************************/
  22.  
  23.  
  24. /* For use with the WHEEL_HSB tag */
  25. struct ColorWheelHSB
  26. {
  27.     ULONG cw_Hue;
  28.     ULONG cw_Saturation;
  29.     ULONG cw_Brightness;
  30. };
  31.  
  32. /* For use with the WHEEL_RGB tag */
  33. struct ColorWheelRGB
  34. {
  35.     ULONG cw_Red;
  36.     ULONG cw_Green;
  37.     ULONG cw_Blue;
  38. };
  39.  
  40.  
  41. /*****************************************************************************/
  42.  
  43.  
  44. #define WHEEL_Dummy         (TAG_USER+0x04000000)
  45. #define WHEEL_Hue         (WHEEL_Dummy+1)   /* set/get Hue           */
  46. #define WHEEL_Saturation     (WHEEL_Dummy+2)   /* set/get Saturation        */
  47. #define WHEEL_Brightness     (WHEEL_Dummy+3)   /* set/get Brightness        */
  48. #define WHEEL_HSB         (WHEEL_Dummy+4)   /* set/get ColorWheelHSB     */
  49. #define WHEEL_Red         (WHEEL_Dummy+5)   /* set/get Red            */
  50. #define WHEEL_Green         (WHEEL_Dummy+6)   /* set/get Green        */
  51. #define WHEEL_Blue         (WHEEL_Dummy+7)   /* set/get Blue            */
  52. #define WHEEL_RGB         (WHEEL_Dummy+8)   /* set/get ColorWheelRGB     */
  53. #define WHEEL_Screen         (WHEEL_Dummy+9)   /* init screen/enviroment    */
  54. #define WHEEL_Abbrv         (WHEEL_Dummy+10)  /* "GCBMRY" if English        */
  55. #define WHEEL_Donation         (WHEEL_Dummy+11)  /* colors donated by app     */
  56. #define WHEEL_BevelBox         (WHEEL_Dummy+12)  /* inside a bevel box        */
  57. #define WHEEL_GradientSlider (WHEEL_Dummy+13)  /* attached gradient slider  */
  58. #define WHEEL_MaxPens         (WHEEL_Dummy+14)  /* max # of pens to allocate */
  59.  
  60.  
  61. /*****************************************************************************/
  62.  
  63.  
  64. #endif /* GADGETS_COLORWHEEL_H */
  65.