Tabs to spaces, more consistent formatting.
[AROS.git] / workbench / libs / muimaster / classes / text.h
blobfd2f68118598c3935ef3b1525b16eed227137018
1 #ifndef _MUI_CLASSES_TEXT_H
2 #define _MUI_CLASSES_TEXT_H
4 /*
5 Copyright © 1999, David Le Corfec.
6 Copyright © 2002-2003, The AROS Development Team.
7 All rights reserved.
9 $Id$
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 \
20 (MUIB_MUI | 0x0042f8dc) /* MUI: V4 isg STRPTR */
21 #define MUIA_Text_HiChar \
22 (MUIB_MUI | 0x004218ff) /* MUI: V4 i.. char */
23 #define MUIA_Text_HiCharIdx \
24 (MUIB_MUI | 0x004214f5) /* i.. char */
25 #define MUIA_Text_PreParse \
26 (MUIB_MUI | 0x0042566d) /* MUI: V4 isg STRPTR */
27 #define MUIA_Text_SetMax \
28 (MUIB_MUI | 0x00424d0a) /* MUI: V4 i.. BOOL */
29 #define MUIA_Text_SetMin \
30 (MUIB_MUI | 0x00424e10) /* MUI: V4 i.. BOOL */
31 #define MUIA_Text_SetVMax \
32 (MUIB_MUI | 0x00420d8b) /* MUI: V11 i.. BOOL */
34 #define MUIA_Text_Editable \
35 (MUIB_Text | 0x00000000) /* DEPRECATED */
36 #define MUIA_Text_Multiline \
37 (MUIB_Text | 0x00000001) /* DEPRECATED */
39 /* Codes which can be used in text strings */
40 #define MUIX_L "\033l" /* justify left */
41 #define MUIX_C "\033c" /* justify centered */
42 #define MUIX_R "\033r" /* justify right */
44 #define MUIX_N "\033n" /* normal style */
45 #define MUIX_B "\033b" /* bold style */
46 #define MUIX_I "\033i" /* italic style */
47 #define MUIX_U "\033u" /* underlined style */
49 #define MUIX_PT "\0332" /* use text pen */
50 #define MUIX_PH "\0338" /* use highlight text pen */
53 extern const struct __MUIBuiltinClass _MUI_Text_desc; /* PRIV */
55 #endif /* _MUI_CLASSES_TEXT_H */