1 #ifndef _MUI_CLASSES_TEXT_H
2 #define _MUI_CLASSES_TEXT_H
5 Copyright © 1999, David Le Corfec.
6 Copyright © 2002-2003, The AROS Development Team.
12 /*** Name *******************************************************************/
13 #define MUIC_Text "Text.mui"
15 /*** Identifier base (for Zune extensions) **********************************/
16 #define MUIB_Text (MUIB_ZUNE | 0x00003500)
18 /*** Attributes *************************************************************/
19 #define MUIA_Text_Contents (MUIB_MUI|0x0042f8dc) /* MUI: V4 isg STRPTR */
20 #define MUIA_Text_HiChar (MUIB_MUI|0x004218ff) /* MUI: V4 i.. char */
21 #define MUIA_Text_HiCharIdx (MUIB_MUI|0x004214f5) /* i.. char */
22 #define MUIA_Text_PreParse (MUIB_MUI|0x0042566d) /* MUI: V4 isg STRPTR */
23 #define MUIA_Text_SetMax (MUIB_MUI|0x00424d0a) /* MUI: V4 i.. BOOL */
24 #define MUIA_Text_SetMin (MUIB_MUI|0x00424e10) /* MUI: V4 i.. BOOL */
25 #define MUIA_Text_SetVMax (MUIB_MUI|0x00420d8b) /* MUI: V11 i.. BOOL */
27 #define MUIA_Text_Editable (MUIB_Text | 0x00000000) /* DEPRECATED */
28 #define MUIA_Text_Multiline (MUIB_Text | 0x00000001) /* DEPRECATED */
30 /* Codes which can be used in text strings */
31 #define MUIX_L "\033l" /* justify left */
32 #define MUIX_C "\033c" /* justify centered */
33 #define MUIX_R "\033r" /* justify right */
35 #define MUIX_N "\033n" /* normal style */
36 #define MUIX_B "\033b" /* bold style */
37 #define MUIX_I "\033i" /* italic style */
38 #define MUIX_U "\033u" /* underlined style */
40 #define MUIX_PT "\0332" /* use text pen */
41 #define MUIX_PH "\0338" /* use highlight text pen */
44 extern const struct __MUIBuiltinClass _MUI_Text_desc
; /* PRIV */
46 #endif /* _MUI_CLASSES_TEXT_H */