1998-03-15 21:29:56 +01:00
|
|
|
/*
|
|
|
|
* ImageList definitions
|
|
|
|
*
|
|
|
|
* Copyright 1998 Eric Kohl
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_IMAGELIST_H
|
|
|
|
#define __WINE_IMAGELIST_H
|
1999-01-01 19:57:33 +01:00
|
|
|
|
2000-03-24 22:13:57 +01:00
|
|
|
#include "windef.h"
|
1999-01-01 19:57:33 +01:00
|
|
|
#include "wingdi.h"
|
1999-02-17 14:51:06 +01:00
|
|
|
|
2000-01-29 22:00:25 +01:00
|
|
|
#include "pshpack1.h"
|
|
|
|
|
|
|
|
/* the ones with offsets at the end are the same as in Windows */
|
1998-03-15 21:29:56 +01:00
|
|
|
struct _IMAGELIST
|
|
|
|
{
|
2000-01-29 22:00:25 +01:00
|
|
|
DWORD magic; /* 00: 'LMIH' */
|
|
|
|
INT cCurImage; /* 04: ImageCount */
|
|
|
|
INT cMaxImage; /* 08: maximages */
|
|
|
|
DWORD x3;
|
|
|
|
INT cx; /* 10: cx */
|
|
|
|
INT cy; /* 14: cy */
|
|
|
|
DWORD x4;
|
|
|
|
UINT flags; /* 1c: flags */
|
|
|
|
DWORD x5;
|
|
|
|
COLORREF clrBk; /* 24: bkcolor */
|
|
|
|
|
|
|
|
|
|
|
|
/* not yet found out */
|
1999-02-26 12:11:13 +01:00
|
|
|
HBITMAP hbmImage;
|
|
|
|
HBITMAP hbmMask;
|
|
|
|
HBRUSH hbrBlend25;
|
|
|
|
HBRUSH hbrBlend50;
|
1998-10-11 15:12:54 +02:00
|
|
|
COLORREF clrFg;
|
1999-02-26 12:11:13 +01:00
|
|
|
INT cInitial;
|
|
|
|
INT cGrow;
|
|
|
|
UINT uBitsPixel;
|
|
|
|
INT nOvlIdx[15];
|
1998-03-15 21:29:56 +01:00
|
|
|
};
|
1999-11-24 00:40:01 +01:00
|
|
|
|
2000-01-29 22:00:25 +01:00
|
|
|
/* Header used by ImageList_Read() and ImageList_Write() */
|
1999-11-24 00:40:01 +01:00
|
|
|
typedef struct _ILHEAD
|
|
|
|
{
|
2000-01-29 22:00:25 +01:00
|
|
|
USHORT usMagic;
|
|
|
|
USHORT usVersion;
|
|
|
|
WORD cCurImage;
|
|
|
|
WORD cMaxImage;
|
2000-01-30 23:21:22 +01:00
|
|
|
WORD cGrow;
|
2000-01-29 22:00:25 +01:00
|
|
|
WORD cx;
|
|
|
|
WORD cy;
|
|
|
|
COLORREF bkcolor;
|
|
|
|
WORD flags;
|
2000-01-30 23:21:22 +01:00
|
|
|
SHORT ovls[4];
|
1999-11-24 00:40:01 +01:00
|
|
|
} ILHEAD;
|
|
|
|
|
2000-01-29 22:00:25 +01:00
|
|
|
#include "poppack.h"
|
1998-03-15 21:29:56 +01:00
|
|
|
#endif /* __WINE_IMAGELIST_H */
|