]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/pnghand.h
Minor fixes to wxDateTime documentation.
[wxWidgets.git] / include / wx / os2 / pnghand.h
CommitLineData
fb46a9a6 1/////////////////////////////////////////////////////////////////////////////
1b88201f 2// Name: wx/os2/pnghand.h
fb46a9a6
DW
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
1b88201f 9// Licence: wxWindows licence
fb46a9a6
DW
10/////////////////////////////////////////////////////////////////////////////
11
fb46a9a6
DW
12#ifndef _WX_PNGHAND_H_
13#define _WX_PNGHAND_H_
14
53a2db12 15class WXDLLIMPEXP_CORE wxPNGFileHandler: public wxBitmapHandler
fb46a9a6 16{
43543d98 17 DECLARE_DYNAMIC_CLASS(wxPNGFileHandler)
fb46a9a6 18public:
43543d98
DW
19 inline wxPNGFileHandler(void)
20 {
21 m_sName = "PNG bitmap file";
22 m_sExtension = "bmp";
23 m_lType = wxBITMAP_TYPE_PNG;
6dd0883d 24 }
fb46a9a6 25
43543d98
DW
26 virtual bool LoadFile( wxBitmap* pBitmap
27 ,const wxString& rName
738f53e9 28 ,HPS hPs
43543d98
DW
29 ,long lFlags
30 ,int nDesiredWidth
31 ,int nDesiredHeight
32 );
33 virtual bool SaveFile( wxBitmap* pBitmap
34 ,const wxString& rName
35 ,int nType
36 ,const wxPalette* pPalette = NULL
37 );
fb46a9a6
DW
38};
39
40#endif
1b88201f 41 // _WX_PNGHAND_H_