/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/imagxpm.h
ViewVC logotype

Contents of /branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/imagxpm.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations) (download)
Tue Sep 7 03:29:01 2010 UTC (9 years, 5 months ago) by william
File MIME type: text/plain
File size: 1237 byte(s)
branching from upstream revision (http://pcsx2.googlecode.com/svn/trunk
): r3113 to
https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7/branch/r3113_0.9.7_beta
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: imaggif.h
3 // Purpose: wxImage XPM handler
4 // Author: Vaclav Slavik
5 // RCS-ID: $Id: imagxpm.h 37393 2006-02-08 21:47:09Z VZ $
6 // Copyright: (c) 2001 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_IMAGXPM_H_
11 #define _WX_IMAGXPM_H_
12
13 #include "wx/image.h"
14
15
16 //-----------------------------------------------------------------------------
17 // wxXPMHandler
18 //-----------------------------------------------------------------------------
19
20 class WXDLLEXPORT wxXPMHandler : public wxImageHandler
21 {
22 public:
23 inline wxXPMHandler()
24 {
25 m_name = wxT("XPM file");
26 m_extension = wxT("xpm");
27 m_type = wxBITMAP_TYPE_XPM;
28 m_mime = wxT("image/xpm");
29 }
30
31 #if wxUSE_STREAMS
32 virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 );
33 virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true );
34 protected:
35 virtual bool DoCanRead( wxInputStream& stream );
36 #endif
37
38 private:
39 DECLARE_DYNAMIC_CLASS(wxXPMHandler)
40 };
41
42
43 #endif
44 // _WX_IMAGXPM_H_
45

  ViewVC Help
Powered by ViewVC 1.1.22