Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / libs / muimaster / classes / numeric.h
blob35a28008d81e6f47800d9d99c90482c56f374485
1 #ifndef _MUI_CLASSES_NUMERIC_H
2 #define _MUI_CLASSES_NUMERIC_H
4 /*
5 Copyright © 2002-2003, The AROS Development Team. All rights reserved.
6 $Id$
7 */
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 */
22 struct MUIP_Numeric_Decrease {STACKED ULONG MethodID; STACKED LONG amount;};
23 struct MUIP_Numeric_Increase {STACKED ULONG MethodID; STACKED LONG amount;};
24 struct MUIP_Numeric_ScaleToValue {STACKED ULONG MethodID; STACKED LONG scalemin; STACKED LONG scalemax; STACKED LONG scale;};
25 struct MUIP_Numeric_SetDefault {STACKED ULONG MethodID;};
26 struct MUIP_Numeric_Stringify {STACKED ULONG MethodID; STACKED LONG value;};
27 struct MUIP_Numeric_ValueToScale {STACKED ULONG MethodID; STACKED LONG scalemin; STACKED LONG scalemax;};
29 /*** Attributes *************************************************************/
30 #define MUIA_Numeric_CheckAllSizes (MUIB_MUI|0x00421594) /* MUI: V11 isg BOOL */
31 #define MUIA_Numeric_Default (MUIB_MUI|0x004263e8) /* MUI: V11 isg LONG */
32 #define MUIA_Numeric_Format (MUIB_MUI|0x004263e9) /* MUI: V11 isg STRPTR */
33 #define MUIA_Numeric_Max (MUIB_MUI|0x0042d78a) /* MUI: V11 isg LONG */
34 #define MUIA_Numeric_Min (MUIB_MUI|0x0042e404) /* MUI: V11 isg LONG */
35 #define MUIA_Numeric_Reverse (MUIB_MUI|0x0042f2a0) /* MUI: V11 isg BOOL */
36 #define MUIA_Numeric_RevLeftRight (MUIB_MUI|0x004294a7) /* MUI: V11 isg BOOL */
37 #define MUIA_Numeric_RevUpDown (MUIB_MUI|0x004252dd) /* MUI: V11 isg BOOL */
38 #define MUIA_Numeric_Value (MUIB_MUI|0x0042ae3a) /* MUI: V11 isg LONG */
40 #define MUIM_Numeric_ValueToScaleExt (MUIB_Numeric | 0x00000000) /* ZUNE only */
41 struct MUIP_Numeric_ValueToScaleExt {STACKED ULONG MethodID; STACKED LONG value; STACKED LONG scalemin; STACKED LONG scalemax;};
43 extern const struct __MUIBuiltinClass _MUI_Numeric_desc; /* PRIV */
45 #endif /* _MUI_CLASSES_NUMERIC_H */