]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/dib.h
The new wxRect doesn't compile so I #if 0ed it
[wxWidgets.git] / include / wx / msw / dib.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: dib.h
3 // Purpose: Routines for loading and saving DIBs
4 // Author: Various
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // Save (device dependent) wxBitmap as a DIB
13 bool wxSaveBitmap(char *filename, wxBitmap *bitmap, wxColourMap *colourmap = NULL);
14
15 // Load device independent bitmap into device dependent bitmap
16 wxBitmap *wxLoadBitmap(char *filename, wxColourMap **colourmap = NULL);
17
18 // Load into existing bitmap;
19 bool wxLoadIntoBitmap(char *filename, wxBitmap *bitmap, wxColourMap **pal = NULL);
20
21 HANDLE BitmapToDIB (HBITMAP hBitmap, HPALETTE hPal);
22 BOOL ReadDIB(LPSTR lpFileName, HBITMAP *bitmap, HPALETTE *palette);
23 HANDLE ReadDIB2(LPSTR lpFileName);
24 LPSTR FindDIBBits (LPSTR lpbi);
25 HPALETTE MakeDIBPalette(LPBITMAPINFOHEADER lpInfo);
26