1 #ifndef LABELTEXTICLASS_H
2 #define LABELTEXTICLASS_H
4 ** LabelTextIClass - (c) 1999 Matteo Cavalleri
7 ** Please read the documentation for
8 ** usage and license of this source.
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 */
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)
22 #define LABELTEXT_MAXTYPE 2
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
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)
35 #define LABELTEXT_MAXPOS 4
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
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)
48 #define LABELTEXT_MAXALIGN 4
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)
63 #ifndef PRIVATE_LABELTEXTICLASS
64 #define LABELTEXTICLASS "labeltexticlass"
65 #ifndef CLASSLIBRARY_H
66 #include "common/ClassLibrary.h"
69 Class *makeLabelTextIClass(void);
71 #define freeLabelTextIClass(cl) FreeClass(cl)