home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / cbm / os-include.lha / os-include / intuition / icclass.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  2KB  |  49 lines

  1. #ifndef INTUITION_ICCLASS_H
  2. #define INTUITION_ICCLASS_H
  3. /*
  4. **  $VER: icclass.h 38.1 (11.11.91)
  5. **  Includes Release 40.15
  6. **
  7. **  Gadget/object interconnection classes
  8. **
  9. **  (C) Copyright 1989-1993 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13.  
  14. #ifndef UTILITY_TAGITEM_H
  15. #include <utility/tagitem.h>
  16. #endif
  17.  
  18. #define ICM_Dummy    (0x0401L)    /* used for nothing        */
  19. #define ICM_SETLOOP    (0x0402L)    /* set/increment loop counter    */
  20. #define ICM_CLEARLOOP    (0x0403L)    /* clear/decrement loop counter    */
  21. #define ICM_CHECKLOOP    (0x0404L)    /* set/increment loop        */
  22.  
  23. /* no parameters for ICM_SETLOOP, ICM_CLEARLOOP, ICM_CHECKLOOP    */
  24.  
  25. /* interconnection attributes used by icclass, modelclass, and gadgetclass */
  26. #define ICA_Dummy    (TAG_USER+0x40000L)
  27. #define ICA_TARGET    (ICA_Dummy + 1)
  28.     /* interconnection target        */
  29. #define ICA_MAP        (ICA_Dummy + 2)
  30.     /* interconnection map tagitem list    */
  31. #define ICSPECIAL_CODE    (ICA_Dummy + 3)
  32.     /* a "pseudo-attribute", see below.    */
  33.  
  34. /* Normally, the value for ICA_TARGET is some object pointer,
  35.  * but if you specify the special value ICTARGET_IDCMP, notification
  36.  * will be send as an IDCMP_IDCMPUPDATE message to the appropriate window's
  37.  * IDCMP port.    See the definition of IDCMP_IDCMPUPDATE.
  38.  *
  39.  * When you specify ICTARGET_IDCMP for ICA_TARGET, the map you
  40.  * specify will be applied to derive the attribute list that is
  41.  * sent with the IDCMP_IDCMPUPDATE message.  If you specify a map list
  42.  * which results in the attribute tag id ICSPECIAL_CODE, the
  43.  * lower sixteen bits of the corresponding ti_Data value will
  44.  * be copied into the Code field of the IDCMP_IDCMPUPDATE IntuiMessage.
  45.  */
  46. #define ICTARGET_IDCMP    (~0L)
  47.  
  48. #endif /* INTUITION_ICCLASS_H */
  49.