]> git.saurik.com Git - wxWidgets.git/blame - include/wx/imagbmp.h
Added UpdateAttrRows/Cols to change the row/column info in attributes as
[wxWidgets.git] / include / wx / imagbmp.h
CommitLineData
8f493002
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: imagbmp.h
3// Purpose: wxImage BMP handler
4// Author: Robert Roebling
5// RCS-ID: $Id$
6// Copyright: (c) Robert Roebling
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_IMAGBMP_H_
11#define _WX_IMAGBMP_H_
12
13#ifdef __GNUG__
14#pragma interface "imagbmp.h"
15#endif
16
17#include "wx/image.h"
18
19//-----------------------------------------------------------------------------
20// wxBMPHandler
21//-----------------------------------------------------------------------------
22
23class WXDLLEXPORT wxBMPHandler: public wxImageHandler
24{
25 DECLARE_DYNAMIC_CLASS(wxBMPHandler)
26
27public:
28
29 inline wxBMPHandler()
30 {
31 m_name = "BMP file";
32 m_extension = "bmp";
33 m_type = wxBITMAP_TYPE_BMP;
34 m_mime = "image/bmp";
35 };
36
37#if wxUSE_STREAMS
38 virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=0 );
39 virtual bool DoCanRead( wxInputStream& stream );
40#endif
41};
42
43
44#endif
45 // _WX_IMAGBMP_H_
46