Preparations for release.
[AROS.git] / compiler / include / intuition / cghooks.h
bloba782666f2c16734e34bb54a2d82e8a628df4fcfd
1 #ifndef INTUITION_CGHOOKS_H
2 #define INTUITION_CGHOOKS_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Custom gadgets
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
15 #ifndef INTUITION_INTUITION_H
16 # include <intuition/intuition.h>
17 #endif
19 struct GadgetInfo
21 struct Screen * gi_Screen;
22 struct Window * gi_Window;
23 struct Requester * gi_Requester;
24 struct RastPort * gi_RastPort;
25 struct Layer * gi_Layer;
26 struct IBox gi_Domain;
28 struct
30 UBYTE DetailPen;
31 UBYTE BlockPen;
32 } gi_Pens;
34 struct DrawInfo * gi_DrInfo;
36 ULONG gi_Reserved[6];
39 struct PGX
41 struct IBox pgx_Container;
42 struct IBox pgx_NewKnob;
45 #define CUSTOM_HOOK(gadget) ((struct Hook *) (gadget)->MutualExclude)
47 #endif /* INTUITION_CGHOOKS_H */