]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/pnghand.h
Added Win95 implementation of OutputDebugString; added to wxVariant class
[wxWidgets.git] / include / wx / msw / pnghand.h
CommitLineData
2bda0e17
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: pnghand.h
3// Purpose: PNG bitmap handler
4// Author: Julian Smart
5// Modified by:
6// Created: 04/01/98
7// RCS-ID: $Id$
8// Copyright: (c) Microsoft, Julian Smart
bbcdf8bc 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
0d3820b3
JS
12#ifdef __GNUG__
13#pragma interface "pnghand.h"
14#endif
15
2bda0e17
KB
16class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler
17{
18 DECLARE_DYNAMIC_CLASS(wxPNGFileHandler)
19public:
20 inline wxPNGFileHandler(void)
21 {
22 m_name = "PNG bitmap file";
23 m_extension = "bmp";
24 m_type = wxBITMAP_TYPE_PNG;
25 };
26
debe6624 27 virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags,
2bda0e17 28 int desiredWidth, int desiredHeight);
debe6624 29 virtual bool SaveFile(wxBitmap *bitmap, const wxString& name, int type, const wxPalette *palette = NULL);
2bda0e17
KB
30};
31