config: fix build with external compiler by passing the sysroot where needed
[AROS.git] / arch / .unmaintained / morphos / Include / gadgets / aroscheckbox.h
blob9cad76198039ce14a589771e5eb9f96789eb8cf0
1 #ifndef GADGETS_AROSCHECKBOX_H
2 #define GADGETS_AROSCHECKBOX_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: MethodIDs and AttrIDs for the AROS checkbox class.
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
15 #ifndef UTILITY_TAGITEM_H
16 # include <utility/tagitem.h>
17 #endif
18 #ifndef LIBRARIES_GADTOOLS_H
19 # include <libraries/gadtools.h>
20 #endif
22 /* The AROSCheckboxClass ist a subclass of GadgetClass. It is the standard
23 checkbox gadget, ie a boolean gadget. You can supply a width and height
24 of 0 to it, in which case, the gadget chooses an ideal size for itself.
25 Expect any size then. You can also use CHECKBOX_WIDTH and CHECKBOX_HEIGHT
26 (see <libraries/gadtools.h>) as sizes for the gadget. Of course, you can
27 choose any size you want, too.
29 You can always set GA_Image and GA_SelectRender. But these must actually be
30 image objects! If you do not set GA_Image at object creation time or you
31 set it to NULL, a custom image is used. GA_Image is the image of the
32 checkmark in unselected state, GA_SelectRender the image in selected state.
33 If GA_SelectRender is set to NULL (or not given at object creation),
34 GA_Image is rendered with state IDS_SELECTED, otherwise GA_SelectRender is
35 rendered with state IDS_NORMAL. Note that you must not set GA_Image to NULL
36 during object runtime! */
38 /* Use that #define instead of a string. */
39 #define AROSCHECKBOXCLASS "checkbox.aros"
40 #define AROSCHECKBOXNAME "Gadgets/aroscheckbox.gadget"
43 /* Tags to be passed to AROSCHECKBOXCLASS. */
44 /* [ISG] (BOOL) Set/Get the state of the checkmark. */
45 #define AROSCB_Checked GTCB_Checked
47 #endif /* GADGETS_AROSCHECKBOX_H */