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.
13 # include <exec/types.h>
15 #ifndef UTILITY_TAGITEM_H
16 # include <utility/tagitem.h>
18 #ifndef LIBRARIES_GADTOOLS_H
19 # include <libraries/gadtools.h>
22 /* The AROSMutualExcludeClass ist a subclass of GadgetClass.
24 You should either supply GA_TextAttr or GA_LabelIText, as the height of the
25 gadget is calculated by the font-height. If do not supply it, GA_Height is
26 used to calculate this size. Otherwise GA_Height is ignored. */
28 /* Use that #define instead of a string. */
29 #define AROSMXCLASS "mutualexclude.aros"
30 #define AROSMXNAME "Gadgets/arosmutualexclude.gadget"
32 /* Tags to be passed to AROSMXCLASS. */
33 #define AROSMX_Dummy (TAG_USER + 0x05130000)
35 /* [ISG] (UWORD) Active tick. The count starts with 0, which is also the
37 #define AROSMX_Active GTMX_Active
38 /* [I..] (STRPTR *) Null-Terminated array of labels for the ticks. The number
39 of ticks is determined by the number of entries. This tag is required at
41 #define AROSMX_Labels GTMX_Labels
42 /* [I..] (UWORD) The vertical spacing between two lines in pixels. Default
44 #define AROSMX_Spacing GTMX_Spacing
45 /* [I..] (UWORD) The height of a tick. Note that this should be at least as
46 height as fontheight + spacing. Otherwise the ticks will overlap each
47 other. Default is equal to MX_HEIGHT (see <libraries/gadtools.h>). */
48 #define AROSMX_TickHeight (AROSMX_Dummy + 01)
49 /* [I..] (LONG) The placement of the tick labels. See <intuition/gadgetclass.h>
50 for definitions (GV_LabelPlace_*). */
51 #define AROSMX_TickLabelPlace (AROSMX_Dummy + 02)
53 #endif /* GADGETS_AROSMX_H */