]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msw/dib.h
more wxHtmlHelpFrame fixes (didn't store customization correctly, still needs some...
[wxWidgets.git] / include / wx / msw / dib.h
... / ...
CommitLineData
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#ifndef _WX_DIB_H_
13#define _WX_DIB_H_
14
15// Save (device dependent) wxBitmap as a DIB
16bool wxSaveBitmap(wxChar *filename, wxBitmap *bitmap, wxColourMap *colourmap = NULL);
17
18// Load device independent bitmap into device dependent bitmap
19wxBitmap *wxLoadBitmap(wxChar *filename, wxColourMap **colourmap = NULL);
20
21// Load into existing bitmap;
22bool wxLoadIntoBitmap(wxChar *filename, wxBitmap *bitmap, wxColourMap **pal = NULL);
23
24HANDLE wxBitmapToDIB (HBITMAP hBitmap, HPALETTE hPal);
25BOOL wxReadDIB(LPTSTR lpFileName, HBITMAP *bitmap, HPALETTE *palette);
26HANDLE wxReadDIB2(LPTSTR lpFileName);
27LPSTR wxFindDIBBits (LPSTR lpbi);
28HPALETTE wxMakeDIBPalette(LPBITMAPINFOHEADER lpInfo);
29
30#endif
31