1 #ifndef GADGETS_AROSMX_H
2 #define GADGETS_AROSMX_H
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 Desc: MethodIDs and AttrIDs for the AROS mutualexclude class.
12 # include <exec/types.h>
14 #ifndef UTILITY_TAGITEM_H
15 # include <utility/tagitem.h>
17 #ifndef LIBRARIES_GADTOOLS_H
18 # include <libraries/gadtools.h>
21 /* The AROSMutualExcludeClass ist a subclass of GadgetClass.
23 You should either supply GA_TextAttr or GA_LabelIText, as the height of the
24 gadget is calculated by the font-height. If do not supply it, GA_Height is
25 used to calculate this size. Otherwise GA_Height is ignored. */
27 /* Use that #define instead of a string. */
28 #define AROSMXCLASS "mutualexclude.aros"
29 #define AROSMXNAME "Gadgets/arosmutualexclude.gadget"
31 /* Tags to be passed to AROSMXCLASS. */
32 #define AROSMX_Dummy (TAG_USER + 0x05130000)
34 /* [ISG] (UWORD) Active tick. The count starts with 0, which is also the
36 #define AROSMX_Active GTMX_Active
37 /* [I..] (STRPTR *) Null-Terminated array of labels for the ticks. The number
38 of ticks is determined by the number of entries. This tag is required at
40 #define AROSMX_Labels GTMX_Labels
41 /* [I..] (UWORD) The vertical spacing between two lines in pixels. Default
43 #define AROSMX_Spacing GTMX_Spacing
44 /* [I..] (UWORD) The height of a tick. Note that this should be at least as
45 height as fontheight + spacing. Otherwise the ticks will overlap each
46 other. Default is equal to MX_HEIGHT (see <libraries/gadtools.h>). */
47 #define AROSMX_TickHeight (AROSMX_Dummy + 01)
48 /* [I..] (LONG) The placement of the tick labels. See <intuition/gadgetclass.h>
49 for definitions (GV_LabelPlace_*). */
50 #define AROSMX_TickLabelPlace (AROSMX_Dummy + 02)
52 #endif /* GADGETS_AROSMX_H */