Abey George (of Macadamian/Corel)
[wine.git] / include / imagelist.h
blobb7397740035f1e72a6f2a63e6947c917894483cc
1 /*
2 * ImageList definitions
4 * Copyright 1998 Eric Kohl
5 */
7 #ifndef __WINE_IMAGELIST_H
8 #define __WINE_IMAGELIST_H
10 #include "windef.h"
11 #include "wingdi.h"
13 #include "pshpack1.h"
15 /* the ones with offsets at the end are the same as in Windows */
16 struct _IMAGELIST
18 DWORD magic; /* 00: 'LMIH' */
19 INT cCurImage; /* 04: ImageCount */
20 INT cMaxImage; /* 08: maximages */
21 DWORD x3;
22 INT cx; /* 10: cx */
23 INT cy; /* 14: cy */
24 DWORD x4;
25 UINT flags; /* 1c: flags */
26 DWORD x5;
27 COLORREF clrBk; /* 24: bkcolor */
30 /* not yet found out */
31 HBITMAP hbmImage;
32 HBITMAP hbmMask;
33 HBRUSH hbrBlend25;
34 HBRUSH hbrBlend50;
35 COLORREF clrFg;
36 INT cInitial;
37 INT cGrow;
38 UINT uBitsPixel;
39 INT nOvlIdx[15];
42 typedef struct _IMAGELIST *HIMAGELIST;
44 /* Header used by ImageList_Read() and ImageList_Write() */
45 typedef struct _ILHEAD
47 USHORT usMagic;
48 USHORT usVersion;
49 WORD cCurImage;
50 WORD cMaxImage;
51 WORD cGrow;
52 WORD cx;
53 WORD cy;
54 COLORREF bkcolor;
55 WORD flags;
56 SHORT ovls[4];
57 } ILHEAD;
59 #include "poppack.h"
60 #endif /* __WINE_IMAGELIST_H */