Tabs to spaces, more consistent formatting.
[AROS.git] / workbench / libs / muimaster / classes / string.h
blobc7aef0695ec402ed268804150df0d1be4ab21caf
1 #ifndef _MUI_CLASSES_STRING_H
2 #define _MUI_CLASSES_STRING_H
4 /*
5 Copyright © 2002-2003, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 /*** Name *******************************************************************/
10 #define MUIC_String "String.mui"
12 /*** Identifier base (for Zune extensions) **********************************/
13 #define MUIB_String (MUIB_ZUNE | 0x00003400)
15 /*** Attributes *************************************************************/
16 #define MUIA_String_Accept \
17 (MUIB_MUI | 0x0042e3e1) /* V4 isg STRPTR */
18 #define MUIA_String_Acknowledge \
19 (MUIB_MUI | 0x0042026c) /* V4 ..g STRPTR */
20 #define MUIA_String_AdvanceOnCR \
21 (MUIB_MUI | 0x004226de) /* V11 isg BOOL */
22 #define MUIA_String_AttachedList \
23 (MUIB_MUI | 0x00420fd2) /* V4 isg Object * */
24 #define MUIA_String_BufferPos \
25 (MUIB_MUI | 0x00428b6c) /* V4 .sg LONG */
26 #define MUIA_String_Contents \
27 (MUIB_MUI | 0x00428ffd) /* V4 isg STRPTR */
28 #define MUIA_String_DisplayPos \
29 (MUIB_MUI | 0x0042ccbf) /* V4 .sg LONG */
30 #define MUIA_String_EditHook \
31 (MUIB_MUI | 0x00424c33) /* V7 isg struct Hook * */
32 #define MUIA_String_Format \
33 (MUIB_MUI | 0x00427484) /* V4 i.g LONG */
34 #define MUIA_String_Integer \
35 (MUIB_MUI | 0x00426e8a) /* V4 isg ULONG */
36 #define MUIA_String_LonelyEditHook \
37 (MUIB_MUI | 0x00421569) /* V11 isg BOOL */
38 #define MUIA_String_MaxLen \
39 (MUIB_MUI | 0x00424984) /* V4 i.g LONG */
40 #define MUIA_String_Reject \
41 (MUIB_MUI | 0x0042179c) /* V4 isg STRPTR */
42 #define MUIA_String_Secret \
43 (MUIB_MUI | 0x00428769) /* V4 i.g BOOL */
45 enum
47 MUIV_String_Format_Left = 0,
48 MUIV_String_Format_Center,
49 MUIV_String_Format_Right,
52 /* Extended features taken over from Alan Odgaard's BetterString MCC.
53 Attribute and method IDs match those of BetterString class. */
55 #define MUIA_String_Columns 0xad001005
56 #define MUIA_String_NoInput 0xad001007
57 #define MUIA_String_SelectSize 0xad001001
58 #define MUIA_String_StayActive 0xad001003
59 #define MUIA_String_KeyUpFocus 0xad001008
60 #define MUIA_String_KeyDownFocus 0xad001009
62 #define MUIM_String_ClearSelected 0xad001004
63 #define MUIM_String_FileNameStart 0xad001006
64 #define MUIM_String_Insert 0xad001002
66 #define MUIV_String_Insert_StartOfString 0x00000000
67 #define MUIV_String_Insert_EndOfString 0xfffffffe
68 #define MUIV_String_Insert_BufferPos 0xffffffff
69 #define MUIV_String_BufferPos_End 0xffffffff
71 #define MUIR_String_FileNameStart_Volume 0xffffffff
73 struct MUIP_String_ClearSelected
75 STACKED ULONG MethodID;
78 struct MUIP_String_FileNameStart
80 STACKED ULONG MethodID;
81 STACKED STRPTR buffer;
82 STACKED LONG pos;
85 struct MUIP_String_Insert
87 STACKED ULONG MethodID;
88 STACKED STRPTR text;
89 STACKED LONG pos;
92 extern const struct __MUIBuiltinClass _MUI_String_desc; /* PRIV */
94 #endif /* _MUI_CLASSES_STRING_H */