1 #ifndef _MUI_CLASSES_NUMERIC_H
2 #define _MUI_CLASSES_NUMERIC_H
5 Copyright © 2002-2003, The AROS Development Team. All rights reserved.
9 /*** Name *******************************************************************/
10 #define MUIC_Numeric "Numeric.mui"
12 /*** Identifier base (for Zune extensions) **********************************/
13 #define MUIB_Numeric (MUIB_ZUNE | 0x00001e00)
15 /*** Methods ****************************************************************/
16 #define MUIM_Numeric_Decrease (MUIB_MUI | 0x004243a7) /* MUI: V11 */
17 #define MUIM_Numeric_Increase (MUIB_MUI | 0x00426ecd) /* MUI: V11 */
18 #define MUIM_Numeric_ScaleToValue (MUIB_MUI | 0x0042032c) /* MUI: V11 */
19 #define MUIM_Numeric_SetDefault (MUIB_MUI | 0x0042ab0a) /* MUI: V11 */
20 #define MUIM_Numeric_Stringify (MUIB_MUI | 0x00424891) /* MUI: V11 */
21 #define MUIM_Numeric_ValueToScale (MUIB_MUI | 0x00423e4f) /* MUI: V11 */
23 struct MUIP_Numeric_Decrease
25 STACKED ULONG MethodID
;
29 struct MUIP_Numeric_Increase
31 STACKED ULONG MethodID
;
35 struct MUIP_Numeric_ScaleToValue
37 STACKED ULONG MethodID
;
38 STACKED LONG scalemin
;
39 STACKED LONG scalemax
;
43 struct MUIP_Numeric_SetDefault
45 STACKED ULONG MethodID
;
48 struct MUIP_Numeric_Stringify
50 STACKED ULONG MethodID
;
54 struct MUIP_Numeric_ValueToScale
56 STACKED ULONG MethodID
;
57 STACKED LONG scalemin
;
58 STACKED LONG scalemax
;
61 /*** Attributes *************************************************************/
62 #define MUIA_Numeric_CheckAllSizes \
63 (MUIB_MUI | 0x00421594) /* MUI: V11 isg BOOL */
64 #define MUIA_Numeric_Default \
65 (MUIB_MUI | 0x004263e8) /* MUI: V11 isg LONG */
66 #define MUIA_Numeric_Format \
67 (MUIB_MUI | 0x004263e9) /* MUI: V11 isg STRPTR */
68 #define MUIA_Numeric_Max \
69 (MUIB_MUI | 0x0042d78a) /* MUI: V11 isg LONG */
70 #define MUIA_Numeric_Min \
71 (MUIB_MUI | 0x0042e404) /* MUI: V11 isg LONG */
72 #define MUIA_Numeric_Reverse \
73 (MUIB_MUI | 0x0042f2a0) /* MUI: V11 isg BOOL */
74 #define MUIA_Numeric_RevLeftRight \
75 (MUIB_MUI | 0x004294a7) /* MUI: V11 isg BOOL */
76 #define MUIA_Numeric_RevUpDown \
77 (MUIB_MUI | 0x004252dd) /* MUI: V11 isg BOOL */
78 #define MUIA_Numeric_Value \
79 (MUIB_MUI | 0x0042ae3a) /* MUI: V11 isg LONG */
81 #define MUIM_Numeric_ValueToScaleExt MUIB_Numeric /* ZUNE only */
83 struct MUIP_Numeric_ValueToScaleExt
85 STACKED ULONG MethodID
;
87 STACKED LONG scalemin
;
88 STACKED LONG scalemax
;
91 extern const struct __MUIBuiltinClass _MUI_Numeric_desc
; /* PRIV */
93 #endif /* _MUI_CLASSES_NUMERIC_H */