]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/dib.h
m_Style was bool by mistake, fixed
[wxWidgets.git] / include / wx / msw / dib.h
CommitLineData
2bda0e17
KB
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$
bbcdf8bc
JS
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
12// Save (device dependent) wxBitmap as a DIB
32c1cda2 13bool wxSaveBitmap(wxChar *filename, wxBitmap *bitmap, wxColourMap *colourmap = NULL);
2bda0e17
KB
14
15// Load device independent bitmap into device dependent bitmap
32c1cda2 16wxBitmap *wxLoadBitmap(wxChar *filename, wxColourMap **colourmap = NULL);
2bda0e17
KB
17
18// Load into existing bitmap;
32c1cda2 19bool wxLoadIntoBitmap(wxChar *filename, wxBitmap *bitmap, wxColourMap **pal = NULL);
2bda0e17
KB
20
21HANDLE BitmapToDIB (HBITMAP hBitmap, HPALETTE hPal);
0b6cf879
OK
22BOOL ReadDIB(LPTSTR lpFileName, HBITMAP *bitmap, HPALETTE *palette);
23HANDLE ReadDIB2(LPTSTR lpFileName);
27a9bd48 24LPSTR FindDIBBits (LPSTR lpbi);
2bda0e17
KB
25HPALETTE MakeDIBPalette(LPBITMAPINFOHEADER lpInfo);
26