]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/dib.h
1. wxBitmap copy ctor and operator=() taking wxIcon added
[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
8fb3a512
JS
12#ifndef _WX_DIB_H_
13#define _WX_DIB_H_
14
423a556f
VZ
15class WXDLLEXPORT wxBitmap;
16class WXDLLEXPORT wxColourMap;
17
2bda0e17 18// Save (device dependent) wxBitmap as a DIB
32c1cda2 19bool wxSaveBitmap(wxChar *filename, wxBitmap *bitmap, wxColourMap *colourmap = NULL);
2bda0e17
KB
20
21// Load device independent bitmap into device dependent bitmap
32c1cda2 22wxBitmap *wxLoadBitmap(wxChar *filename, wxColourMap **colourmap = NULL);
2bda0e17
KB
23
24// Load into existing bitmap;
32c1cda2 25bool wxLoadIntoBitmap(wxChar *filename, wxBitmap *bitmap, wxColourMap **pal = NULL);
2bda0e17 26
a61ddc47
UJ
27HANDLE wxBitmapToDIB (HBITMAP hBitmap, HPALETTE hPal);
28BOOL wxReadDIB(LPTSTR lpFileName, HBITMAP *bitmap, HPALETTE *palette);
29HANDLE wxReadDIB2(LPTSTR lpFileName);
30LPSTR wxFindDIBBits (LPSTR lpbi);
31HPALETTE wxMakeDIBPalette(LPBITMAPINFOHEADER lpInfo);
2bda0e17 32
8fb3a512
JS
33#endif
34