Initial commit
[amiga/OpenBoopsi.git] / include / images / ExtFrameIClass.h
1 #ifndef EXTFRAMEICLASS_H
2 #define EXTFRAMEICLASS_H
3 /*
4 **  ExtFrameIClass - (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 /* supported frame types */
14
15 /* these are the same as defined in imageclass.h
16 **
17 ** #define FRAME_DEFAULT        0
18 ** #define FRAME_BUTTON         1
19 ** #define FRAME_RIDGE          2
20 ** #define FRAME_ICONDROPBOX    3
21 **
22 ** these are new frame types
23 */
24 #define FRAME_FLAT              4
25 #define FRAME_XEN               5
26 #define FRAME_BUTTON2           6
27 #define FRAME_RIDGE2            7
28
29 /* maximum number of frames defined, never to
30 ** be used outside the class (it must be equal
31 ** to the last defined frame, not bigger)
32 */
33 #define EXTFRAME_MAXFRAME       7
34
35 /* attributes for this class */
36 #define IA_FrameDistance        (IA_Dummy + 0x53)
37 #define IA_InnerDistance        (IA_Dummy + 0x54)
38 #define IA_PenBackground        (IA_Dummy + 0x55)
39 #define IA_PenSelBackground     (IA_Dummy + 0x56)
40 #define IA_PenShine             (IA_Dummy + 0x57)
41 #define IA_PenShadow            (IA_Dummy + 0x58)
42 #define IA_PenHalfShine         (IA_Dummy + 0x59)
43 #define IA_PenHalfShadow        (IA_Dummy + 0x5a)
44
45 /* flags for IM_FRAMEBOX method
46 **
47 ** #define FRAMEF_SPECIFY       (1 << 0)
48 */
49 #define FRAMEF_QUERY            (1 << 1)
50
51 #ifndef PRIVATE_EXTFRAMEICLASS
52     #define EXTFRAMEICLASS      "extframeiclass"
53 #else
54     Class *makeExtFrameIClass(void);
55
56     #define freeExtFrameIClass(cl) FreeClass(cl)
57 #endif
58
59 /* /// */
60
61 #endif
62