Initial commit
[amiga/OpenBoopsi.git] / include / images / LabelTextIClass.h
1 #ifndef LABELTEXTICLASS_H
2 #define LABELTEXTICLASS_H
3 /*
4 **  LabelTextIClass - (c) 1999 Matteo Cavalleri
5 **  
6 **
7 **  Please read the documentation for
8 **  usage and license of this source.
9 */
10
11 /* /// "Global" */
12
13 /* label types */
14 #define LTA_TYPE_NORMAL         0   /* simple text with the shadow pen   */
15 #define LTA_TYPE_HILIGHT        1   /* simple text with the shine pen    */
16 #define LTA_TYPE_3D             2   /* 3d text with shadow and shine pen */
17
18 /* maximum number of renderings defined, never to
19 ** be used outside the class (it must be equal
20 ** to the last defined value, not bigger)
21 */
22 #define LABELTEXT_MAXTYPE        2
23
24 /* label positions */
25 #define LTA_POSITION_INSIDE     0
26 #define LTA_POSITION_ABOVE      1
27 #define LTA_POSITION_BELOW      2
28 #define LTA_POSITION_LEFT       3
29 #define LTA_POSITION_RIGHT      4
30
31 /* maximum number of position defined, never to
32 ** be used outside the class (it must be equal
33 ** to the last defined value, not bigger)
34 */
35 #define LABELTEXT_MAXPOS         4
36
37 /* label alignment */
38 #define LTA_ALIGN_CENTER        0
39 #define LTA_ALIGN_TOP           1
40 #define LTA_ALIGN_BOTTOM        2
41 #define LTA_ALIGN_LEFT          3
42 #define LTA_ALIGN_RIGHT         4
43
44 /* maximum number of position defined, never to
45 ** be used outside the class (it must be equal
46 ** to the last defined value, not bigger)
47 */
48 #define LABELTEXT_MAXALIGN       4
49
50 /* attributes for this class */
51 #define LTA_Label               (IA_Dummy + 0x71)
52 #define LTA_LabelType           (IA_Dummy + 0x72)
53 #define LTA_Distance            (IA_Dummy + 0x73)
54 #define LTA_Position            (IA_Dummy + 0x74)
55 #define LTA_Align               (IA_Dummy + 0x75)
56 #define LTA_Font                (IA_Dummy + 0x76)
57 #define LTA_PenBackground       (IA_Dummy + 0x77)
58 #define LTA_PenShine            (IA_Dummy + 0x78)
59 #define LTA_PenShadow           (IA_Dummy + 0x79)
60 #define LTA_PenHalfShine        (IA_Dummy + 0x7a)
61 #define LTA_PenHalfShadow       (IA_Dummy + 0x7b)
62
63 #ifndef PRIVATE_LABELTEXTICLASS
64     #define LABELTEXTICLASS          "labeltexticlass"
65     #ifndef CLASSLIBRARY_H
66         #include "common/ClassLibrary.h"
67     #endif
68 #else
69     Class *makeLabelTextIClass(void);
70
71     #define freeLabelTextIClass(cl) FreeClass(cl)
72 #endif
73
74 /* /// */
75
76 #endif
77