2 Copyright © 1995-2005, The AROS Development Team. All rights reserved.
6 /***********************************************************************************/
8 #ifndef AROSMUTUALEXCLUDE_INTERN_H
9 #define AROSMUTUALEXCLUDE_INTERN_H
11 /***********************************************************************************/
16 # include <exec/types.h>
18 #ifndef EXEC_LIBRARIES_H
19 # include <exec/libraries.h>
21 #ifndef UTILITY_HOOKS_H
22 # include <utility/hooks.h>
25 # include <dos/bptr.h>
27 #ifndef GRAPHICS_RASTPORT_H
28 # include <graphics/rastport.h>
30 #ifndef INTUITION_CLASSES_H
31 # include <intuition/classes.h>
33 #ifndef INTUITION_CGHOOKS_H
34 # include <intuition/cghooks.h>
36 #ifndef INTUITION_GADGETCLASS_H
37 # include <intuition/gadgetclass.h>
40 /***********************************************************************************/
42 #define TURN_OFF_DEBUG
46 #define G(obj) ((struct Gadget *)(obj))
48 /***********************************************************************************/
50 /* MutualExcludeClass definitions */
53 /* Important pointers */
55 struct TextAttr
*tattr
;
56 struct Image
*mximage
;
57 struct TextFont
*font
;
58 struct Rectangle bbox
;
59 /* Information about ticks */
60 ULONG active
, newactive
; /* The active tick and the tick to be activated */
62 /* Information about labels */
64 ULONG numlabels
; /* The number of labels */
65 LONG labelplace
, ticklabelplace
;
71 /***********************************************************************************/
75 void drawdisabledpattern(struct RastPort
*rport
,
77 WORD left
, WORD top
, UWORD width
, UWORD height
79 BOOL
renderlabel(struct Gadget
*gad
, struct RastPort
*rport
, struct MXData
*data
);
82 /***********************************************************************************/
84 #endif /* AROSMUTUALEXCLUDE_INTERN_H */
86 /***********************************************************************************/