Fixed background redrawing when control is covered. Fixed a really
[wine] / include / imagelist.h
1 /*
2  * ImageList definitions
3  *
4  * Copyright 1998 Eric Kohl
5  */
6  
7 #ifndef __WINE_IMAGELIST_H
8 #define __WINE_IMAGELIST_H
9
10 #include "windef.h"
11 #include "wingdi.h"
12
13 #include "pshpack1.h"
14
15 /* the ones with offsets at the end are the same as in Windows */
16 struct _IMAGELIST
17 {
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 */
28
29
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];
40 };
41
42 typedef struct _IMAGELIST *HIMAGELIST;
43
44 /* Header used by ImageList_Read() and ImageList_Write() */
45 typedef struct _ILHEAD
46 {
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;
58
59 #include "poppack.h"
60 #endif  /* __WINE_IMAGELIST_H */