added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / classes / gadgets / aroscheckbox / aroscheckbox_intern.h
blobe5906add77bb0808703ccf2b220bcbcb27ff379c
1 /*
2 Copyright © 1995-2005, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef AROSCHECKBOX_INTERN_H
7 #define AROSCHECKBOX_INTERN_H
11 #ifndef EXEC_TYPES_H
12 # include <exec/types.h>
13 #endif
14 #ifndef EXEC_LIBRARIES_H
15 # include <exec/libraries.h>
16 #endif
17 #ifndef UTILITY_HOOKS_H
18 # include <utility/hooks.h>
19 #endif
20 #ifndef DOS_BPTR_H
21 # include <dos/bptr.h>
22 #endif
23 #ifndef GRAPHICS_RASTPORT_H
24 # include <graphics/rastport.h>
25 #endif
26 #ifndef INTUITION_CLASSES_H
27 # include <intuition/classes.h>
28 #endif
29 #ifndef INTUITION_CGHOOKS_H
30 # include <intuition/cghooks.h>
31 #endif
32 #ifndef INTUITION_GADGETCLASS_H
33 # include <intuition/gadgetclass.h>
34 #endif
36 #define TURN_OFF_DEBUG
39 /* Support */
40 #define G(obj) ((struct Gadget *)(obj))
43 /* CheckboxClass definitions */
44 struct CheckData {
45 struct DrawInfo *dri;
46 UWORD flags;
47 LONG labelplace;
50 #define CF_Checked 0x0001
51 #define CF_CustomImage 0x0002
54 /* Prototypes */
55 void drawdisabledpattern(struct RastPort *rport, UWORD pen, WORD left, WORD top, UWORD width, UWORD height);
56 BOOL renderlabel(struct Gadget *gad, struct RastPort *rport, LONG labelplace);
58 #endif /* AROSCHECKBOX_INTERN_H */