Simple test for asyncio.library.
[AROS-Contrib.git] / gfx / mysticview / src / Mystic_Icons.h
blob5be2fb9ffc8744fc6e0a29b9de05d7f3fe1be794
1 /*********************************************************************
2 ----------------------------------------------------------------------
4 MysticView
5 definitions for icon operations
7 ----------------------------------------------------------------------
8 *********************************************************************/
10 #ifndef MYSTIC_ICONZ_H
11 #define MYSTIC_ICONZ_H 1
13 #include "Mystic_Global.h"
15 #ifdef NO_NEWICONS
16 struct ChunkyImage
18 UBYTE dummy;
20 struct NewDiskObject
22 UBYTE dummy;
24 #else
25 #include <libraries/newicon.h>
26 #endif
28 struct IconThumbnail
30 struct NewDiskObject *dob;
31 int width, height;
32 struct ChunkyImage *oldimg1, *oldimg2;
33 struct ChunkyImage img1;
34 char *array;
35 char palette[256*3];
38 extern struct IconThumbnail *CreateIconThumbnail(PICTURE *picture, int width, int height, int maxcolors, struct NewDiskObject *diskobject);
39 extern void DeleteIconThumbnail(struct IconThumbnail *icon);
40 extern BOOL PutNewIcon(PICTURE *picture, int width, int height, int numcolors, char *filename, struct NewDiskObject *defaultdob, char *deftool);
42 #endif