1 #ifndef _MUI_CLASSES_STRING_H
2 #define _MUI_CLASSES_STRING_H
5 Copyright © 2002-2003, The AROS Development Team. All rights reserved.
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 (MUIB_MUI|0x0042e3e1) /* V4 isg STRPTR */
17 #define MUIA_String_Acknowledge (MUIB_MUI|0x0042026c) /* V4 ..g STRPTR */
18 #define MUIA_String_AdvanceOnCR (MUIB_MUI|0x004226de) /* V11 isg BOOL */
19 #define MUIA_String_AttachedList (MUIB_MUI|0x00420fd2) /* V4 isg Object * */
20 #define MUIA_String_BufferPos (MUIB_MUI|0x00428b6c) /* V4 .sg LONG */
21 #define MUIA_String_Contents (MUIB_MUI|0x00428ffd) /* V4 isg STRPTR */
22 #define MUIA_String_DisplayPos (MUIB_MUI|0x0042ccbf) /* V4 .sg LONG */
23 #define MUIA_String_EditHook (MUIB_MUI|0x00424c33) /* V7 isg struct Hook * */
24 #define MUIA_String_Format (MUIB_MUI|0x00427484) /* V4 i.g LONG */
25 #define MUIA_String_Integer (MUIB_MUI|0x00426e8a) /* V4 isg ULONG */
26 #define MUIA_String_LonelyEditHook (MUIB_MUI|0x00421569) /* V11 isg BOOL */
27 #define MUIA_String_MaxLen (MUIB_MUI|0x00424984) /* V4 i.g LONG */
28 #define MUIA_String_Reject (MUIB_MUI|0x0042179c) /* V4 isg STRPTR */
29 #define MUIA_String_Secret (MUIB_MUI|0x00428769) /* V4 i.g BOOL */
32 MUIV_String_Format_Left
= 0,
33 MUIV_String_Format_Center
,
34 MUIV_String_Format_Right
,
37 /* Extended features taken over from Alan Odgaard's BetterString MCC.
38 Attribute and method IDs match those of BetterString class. */
40 #define MUIA_String_Columns 0xad001005
41 #define MUIA_String_NoInput 0xad001007
42 #define MUIA_String_SelectSize 0xad001001
43 #define MUIA_String_StayActive 0xad001003
44 #define MUIA_String_KeyUpFocus 0xad001008
45 #define MUIA_String_KeyDownFocus 0xad001009
47 #define MUIM_String_ClearSelected 0xad001004
48 #define MUIM_String_FileNameStart 0xad001006
49 #define MUIM_String_Insert 0xad001002
51 #define MUIV_String_Insert_StartOfString 0x00000000
52 #define MUIV_String_Insert_EndOfString 0xfffffffe
53 #define MUIV_String_Insert_BufferPos 0xffffffff
54 #define MUIV_String_BufferPos_End 0xffffffff
56 #define MUIR_String_FileNameStart_Volume 0xffffffff
58 struct MUIP_String_ClearSelected
{STACKED ULONG MethodID
;};
59 struct MUIP_String_FileNameStart
{STACKED ULONG MethodID
; STACKED STRPTR buffer
; STACKED LONG pos
;};
60 struct MUIP_String_Insert
{STACKED ULONG MethodID
; STACKED STRPTR text
; STACKED LONG pos
;};
62 extern const struct __MUIBuiltinClass _MUI_String_desc
; /* PRIV */
64 #endif /* _MUI_CLASSES_STRING_H */