grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / classes / gadgets / aroscycle / aroscycle_intern.h
blob955fa01b60b9128537e64cea5ae149ed874da937
1 /*
2 Copyright © 1995-2005, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 /***********************************************************************************/
8 #ifndef AROSCYCLE_INTERN_H
9 #define AROSCYCLE_INTERN_H
11 /***********************************************************************************/
15 #ifndef EXEC_TYPES_H
16 # include <exec/types.h>
17 #endif
18 #ifndef EXEC_LIBRARIES_H
19 # include <exec/libraries.h>
20 #endif
21 #ifndef UTILITY_HOOKS_H
22 # include <utility/hooks.h>
23 #endif
24 #ifndef DOS_BPTR_H
25 # include <dos/bptr.h>
26 #endif
27 #ifndef GRAPHICS_RASTPORT_H
28 # include <graphics/rastport.h>
29 #endif
30 #ifndef INTUITION_CLASSES_H
31 # include <intuition/classes.h>
32 #endif
33 #ifndef INTUITION_CGHOOKS_H
34 # include <intuition/cghooks.h>
35 #endif
36 #ifndef INTUITION_GADGETCLASS_H
37 # include <intuition/gadgetclass.h>
38 #endif
40 /***********************************************************************************/
42 #define TURN_OFF_DEBUG
45 /* Support */
46 #define G(obj) ((struct Gadget *)(obj))
48 /***********************************************************************************/
50 /* CycleClass definitions */
51 struct CycleData
53 STRPTR *labels;
54 struct TextFont *font;
55 UWORD active;
56 UWORD numlabels;
59 /***********************************************************************************/
61 /* Prototypes */
63 void drawdisabledpattern(struct RastPort *rport, UWORD pen, WORD left, WORD top, UWORD width, UWORD height);
64 void renderlabel (struct Gadget *gad, STRPTR label, struct RastPort *rport, struct GadgetInfo *ginfo);
65 BOOL pointingadget(struct Gadget *gad, struct GadgetInfo *gi, WORD x, WORD y);
67 /***********************************************************************************/
69 #endif /* AROSCYCLE_INTERN_H */
71 /***********************************************************************************/