home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / jËzyki_programowania / ace_basic / ace / include / intuition / icclass.h < prev    next >
C/C++ Source or Header  |  1977-12-31  |  2KB  |  52 lines

  1. #ifndef INTUITION_ICCLASS_H
  2. #define INTUITION_ICCLASS_H 1
  3. /*
  4. ** icclass.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/01/95
  11. **
  12. **
  13. */
  14.  
  15.  
  16.  
  17. #ifndef UTILITY_TAGITEM_H
  18. #include <utility/tagitem.h>
  19. #endif
  20.  
  21. #define ICM_Dummy   (&H0401&)   /* used for nothing     */
  22. #define ICM_SETLOOP (&H0402&)   /* set/increment loop counter   */
  23. #define ICM_CLEARLOOP   (&H0403&)   /* clear/decrement loop counter */
  24. #define ICM_CHECKLOOP   (&H0404&)   /* set/increment loop       */
  25.  
  26. /* no parameters for ICM_SETLOOP,  ICM_CLEARLOOP,  ICM_CHECKLOOP  */
  27.  
  28. /* interconnection attributes used by icclass,  modelclass,  and gadgetclass */
  29. #define ICA_Dummy   (TAG_USER+&H40000&)
  30. #define ICA_TARGET  (ICA_Dummy + 1)
  31.     /* interconnection target       */
  32. #define ICA_MAP     (ICA_Dummy + 2)
  33.     /* interconnection map tagitem list */
  34. #define ICSPECIAL_CODE  (ICA_Dummy + 3)
  35.     /* a "pseudo-attribute",  see below. */
  36.  
  37. /* Normally,  the value for ICA_TARGET is some object pointer, 
  38.  * but if you specify the special value ICTARGET_IDCMP,  notification
  39.  * will be send as an IDCMP_IDCMPUPDATE message to the appropriate window's
  40.  * IDCMP port.  See the definition of IDCMP_IDCMPUPDATE.
  41.  *
  42.  * When you specify ICTARGET_IDCMP for ICA_TARGET,  the map you
  43.  * specify will be applied to derive the attribute list that is
  44.  * sent with the IDCMP_IDCMPUPDATE message.  If you specify a map list
  45.  * which results in the attribute tag id ICSPECIAL_CODE,  the
  46.  * lower sixteen bits of the corresponding ti_Data value will
  47.  * be copied into the Code field of the IDCMP_IDCMPUPDATE IntuiMessage.
  48.  */
  49. #define ICTARGET_IDCMP  (NOT NULL)
  50.  
  51. #endif /* INTUITION_ICCLASS_H */
  52.