Angband
readdib.h
Go to the documentation of this file.
1 
9 #ifndef INCLUDED_READDIB_H
10 #define INCLUDED_READDIB_H
11 
15 typedef struct {
16  HANDLE hDIB;
17  HBITMAP hBitmap;
18  HPALETTE hPalette;
19  BYTE CellWidth;
20  BYTE CellHeight;
23 } DIBINIT;
24 
28 extern BOOL ReadDIB(HWND, LPSTR, DIBINIT *);
29 
33 extern void FreeDIB(DIBINIT *dib);
34 
38 extern BOOL ReadDIB_PNG(HWND, LPSTR, DIBINIT *);
39 extern BOOL ReadDIB2_PNG(HWND, LPSTR, DIBINIT *, DIBINIT *, BOOL);
40 
41 #endif /* !INCLUDED_READDIB_H */