1 #ifndef EXTFRAMEICLASS_H
2 #define EXTFRAMEICLASS_H
4 ** ExtFrameIClass - (c) 1999 Matteo Cavalleri
7 ** Please read the documentation for
8 ** usage and license of this source.
13 /* supported frame types */
15 /* these are the same as defined in imageclass.h
17 ** #define FRAME_DEFAULT 0
18 ** #define FRAME_BUTTON 1
19 ** #define FRAME_RIDGE 2
20 ** #define FRAME_ICONDROPBOX 3
22 ** these are new frame types
26 #define FRAME_BUTTON2 6
27 #define FRAME_RIDGE2 7
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)
33 #define EXTFRAME_MAXFRAME 7
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)
45 /* flags for IM_FRAMEBOX method
47 ** #define FRAMEF_SPECIFY (1 << 0)
49 #define FRAMEF_QUERY (1 << 1)
51 #ifndef PRIVATE_EXTFRAMEICLASS
52 #define EXTFRAMEICLASS "extframeiclass"
54 Class *makeExtFrameIClass(void);
56 #define freeExtFrameIClass(cl) FreeClass(cl)