revert between 56095 -> 55830 in arch
[AROS.git] / compiler / coolimages / include / coolimages.h
blob1c047e23ea90598999d9479e8198efacff99bb3d
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 /****************************************************************************************/
8 #ifndef LINKLIBS_COOLIMAGES_H
9 #define LINKLIBS_COOLIMAGES_H
11 /****************************************************************************************/
13 #ifndef EXEC_TYPES_H
14 #include <exec/types.h>
15 #endif
17 #ifndef UTILITY_HOOKS_H
18 #include <utility/hooks.h>
19 #endif
21 #ifndef UTILITY_TAGITEM_H
22 #include <utility/tagitem.h>
23 #endif
25 #ifndef INTUITION_CLASSES_H
26 #include <intuition/classes.h>
27 #endif
29 struct Library;
31 /****************************************************************************************/
33 /* Tags for coolbuttonclass */
35 #define COOLBT_Dummy (TAG_USER + 1234)
37 #define COOLBT_CoolImage (COOLBT_Dummy + 1) /* I: struct CoolImage * */
39 /* Tags for coolimageclass */
41 #define COOLIM_Dummy (TAG_USER + 1334)
43 #define COOLIM_CoolImage (COOLIM_Dummy + 1) /* I: struct CoolImage * */
44 #define COOLIM_BgColor (COOLIM_Dummy + 2) /* I: ULONG */
46 /****************************************************************************************/
48 struct CoolImage
50 const UBYTE *data;
51 const UBYTE *pal;
52 WORD width;
53 WORD height;
54 WORD numcolors;
57 /****************************************************************************************/
59 #ifndef SHARED_COOLIMAGES_LIBRARY
61 /****************************************************************************************/
63 extern const struct CoolImage cool_saveimage;
64 extern const struct CoolImage cool_loadimage;
65 extern const struct CoolImage cool_useimage;
66 extern const struct CoolImage cool_cancelimage;
67 extern const struct CoolImage cool_dotimage;
68 extern const struct CoolImage cool_dotimage2;
69 extern const struct CoolImage cool_warnimage;
70 extern const struct CoolImage cool_diskimage;
71 extern const struct CoolImage cool_switchimage;
72 extern const struct CoolImage cool_monitorimage;
73 extern const struct CoolImage cool_mouseimage;
74 extern const struct CoolImage cool_infoimage;
75 extern const struct CoolImage cool_askimage;
76 extern const struct CoolImage cool_keyimage;
77 extern const struct CoolImage cool_clockimage;
78 extern const struct CoolImage cool_flagimage;
79 extern const struct CoolImage cool_headimage;
80 extern const struct CoolImage cool_windowimage;
81 extern const struct CoolImage cool_kbdimage;
83 extern struct IClass * cool_buttonclass;
84 extern struct IClass * cool_imageclass;
86 /****************************************************************************************/
88 BOOL InitCoolButtonClass(struct Library *CyberGfxBase);
89 BOOL InitCoolImageClass(struct Library *CyberGfxBase);
91 void CleanupCoolButtonClass(void);
92 void CleanupCoolImageClass(void);
94 /****************************************************************************************/
96 #endif /* SHARED_COOLIMAGES_LIBRARY */
98 /****************************************************************************************/
100 #endif /* LINKLIBS_COOLIMAGES_H */
102 /****************************************************************************************/