home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / intuition / cghooks.h next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  883 b   |  61 lines

  1. #ifndef INTUITION_CGHOOKS_H
  2. #define INTUITION_CGHOOKS_H 1
  3. /*
  4. ** $Filename: intuition/cghooks.h $
  5. ** $Release: 2.04 Includes, V37.4 $
  6. ** $Revision: 36.2 $
  7. ** $Date: 91/11/08 $
  8. **
  9. ** Custom Gadget processing
  10. **
  11. ** (C) Copyright 1988-1991 Commodore-Amiga, Inc.
  12. ** All Rights Reserved
  13. */
  14.  
  15. #ifndef EXEC_TYPES_H
  16. #include <exec/types.h>
  17. #endif
  18.  
  19. #ifndef INTUITION_INTUITION_H
  20. #include <intuition/intuition.h>
  21. #endif
  22.  
  23.  
  24. struct GadgetInfo {
  25.  
  26.  struct Screen *gi_Screen;
  27.  struct Window *gi_Window; 
  28.  struct Requester *gi_Requester; 
  29.  
  30.  
  31.  struct RastPort *gi_RastPort;
  32.  struct Layer *gi_Layer;
  33.  
  34.  
  35.  struct IBox gi_Domain;
  36.  
  37.  
  38.  struct {
  39.  UBYTE DetailPen;
  40.  UBYTE BlockPen;
  41.  } gi_Pens;
  42.  
  43.  
  44.  struct DrawInfo *gi_DrInfo;
  45.  
  46.  
  47.  ULONG gi_Reserved[6];
  48. };
  49.  
  50.  
  51.  
  52. struct PGX {
  53.  struct IBox pgx_Container;
  54.  struct IBox pgx_NewKnob;
  55. };
  56.  
  57.  
  58. #define CUSTOM_HOOK( gadget ) ( (struct Hook *) (gadget)->MutualExclude)
  59.  
  60. #endif
  61.