2019-12-10 17:09:16 -07:00
|
|
|
#ifndef __BITMAP_H_INCLUDED
|
|
|
|
#define __BITMAP_H_INCLUDED
|
|
|
|
|
|
|
|
#include "wintype.h"
|
|
|
|
#include "gfxobj.h"
|
|
|
|
|
|
|
|
#define BMP_SIG_WORD 0x706D4221 /* !Bmp */
|
|
|
|
|
|
|
|
typedef struct tagBITMAP {
|
|
|
|
GFXOBJECT hdr;
|
|
|
|
INT32 width;
|
|
|
|
INT32 height;
|
|
|
|
UINT16 bits[0];
|
|
|
|
} BITMAP, *PBITMAP;
|
|
|
|
|
2019-12-11 10:54:09 -07:00
|
|
|
extern PBITMAP BMP_Create(INT32 width, INT32 height, const void *bits);
|
2019-12-10 17:09:16 -07:00
|
|
|
extern void BMP_Delete(PBITMAP pbmp);
|
|
|
|
|
2019-12-11 14:03:11 -07:00
|
|
|
extern PBITMAP _BMP_GetStock(PCSTR name);
|
|
|
|
|
2019-12-10 17:09:16 -07:00
|
|
|
#endif /* __BITMAP_H_INCLUDED */
|