Safer handling of Booleans.
[AROS.git] / workbench / libs / muimaster / classes / prop.h
blobad81d230f3c31f133fd73b6dec0be12bfbce36b5
1 #ifndef _MUI_CLASSES_PROP_H
2 #define _MUI_CLASSES_PROP_H
4 /*
5 Copyright © 2002-2003, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 /*** Name *******************************************************************/
10 #define MUIC_Prop "Prop.mui"
12 /*** Identifier base (for Zune extensions) **********************************/
13 #define MUIB_Prop (MUIB_ZUNE | 0x00002900)
15 /*** Methods ****************************************************************/
16 #define MUIM_Prop_Decrease (MUIB_MUI | 0x00420dd1) /* MUI: V16 */
17 #define MUIM_Prop_Increase (MUIB_MUI | 0x0042cac0) /* MUI: V16 */
19 struct MUIP_Prop_Decrease
21 STACKED ULONG MethodID;
22 STACKED LONG amount;
25 struct MUIP_Prop_Increase
27 STACKED ULONG MethodID;
28 STACKED LONG amount;
31 /*** Attributes *************************************************************/
32 #define MUIA_Prop_Entries \
33 (MUIB_MUI | 0x0042fbdb) /* MUI: V4 isg LONG */
34 #define MUIA_Prop_First \
35 (MUIB_MUI | 0x0042d4b2) /* MUI: V4 isg LONG */
36 #define MUIA_Prop_Horiz \
37 (MUIB_MUI | 0x0042f4f3) /* MUI: V4 i.g BOOL */
38 #define MUIA_Prop_Slider \
39 (MUIB_MUI | 0x00429c3a) /* MUI: V4 isg BOOL */
40 #define MUIA_Prop_UseWinBorder \
41 (MUIB_MUI | 0x0042deee) /* MUI: V13 i.. LONG */
42 #define MUIA_Prop_Visible \
43 (MUIB_MUI | 0x0042fea6) /* MUI: V4 isg LONG */
45 #define MUIA_Prop_OnlyTrigger /* PRIV */ \
46 (MUIB_Prop | 0x00000000) /* Zune: PRIV .s. BOOL */
48 enum
50 MUIV_Prop_UseWinBorder_None = 0,
51 MUIV_Prop_UseWinBorder_Left,
52 MUIV_Prop_UseWinBorder_Right,
53 MUIV_Prop_UseWinBorder_Bottom,
56 #define MUIA_Prop_Release /* PRIV */ \
57 (MUIB_MUI | 0x00429839) /* MUI: ..g BOOL PRIV */
58 #define MUIA_Prop_DeltaFactor \
59 (MUIB_MUI | 0x00427c5e) /* MUI: is. LONG */
60 #define MUIA_Prop_DoSmooth \
61 (MUIB_MUI | 0x004236ce) /* MUI: V4 i.. LONG */
64 extern const struct __MUIBuiltinClass _MUI_Prop_desc; /* PRIV */
66 #endif /* _MUI_CLASSES_PROP_H */