]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/pnghand.h
Same as last one..
[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
9// Licence: wxWindows license
10/////////////////////////////////////////////////////////////////////////////
11
12class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler
13{
14 DECLARE_DYNAMIC_CLASS(wxPNGFileHandler)
15public:
16 inline wxPNGFileHandler(void)
17 {
18 m_name = "PNG bitmap file";
19 m_extension = "bmp";
20 m_type = wxBITMAP_TYPE_PNG;
21 };
22
23 virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, const long flags,
24 int desiredWidth, int desiredHeight);
25 virtual bool SaveFile(wxBitmap *bitmap, const wxString& name, const int type, const wxPalette *palette = NULL);
26};
27