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

Contents of /branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/imaggif.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: 1296 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 GIF handler
4 // Author: Vaclav Slavik & Guillermo Rodriguez Garcia
5 // RCS-ID: $Id: imaggif.h 37393 2006-02-08 21:47:09Z VZ $
6 // Copyright: (c) Guillermo Rodriguez Garcia
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_IMAGGIF_H_
11 #define _WX_IMAGGIF_H_
12
13 #include "wx/image.h"
14
15
16 //-----------------------------------------------------------------------------
17 // wxGIFHandler
18 //-----------------------------------------------------------------------------
19
20 #if wxUSE_GIF
21
22 class WXDLLEXPORT wxGIFHandler : public wxImageHandler
23 {
24 public:
25 inline wxGIFHandler()
26 {
27 m_name = wxT("GIF file");
28 m_extension = wxT("gif");
29 m_type = wxBITMAP_TYPE_GIF;
30 m_mime = wxT("image/gif");
31 }
32
33 #if wxUSE_STREAMS
34 virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 );
35 virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true );
36 protected:
37 virtual bool DoCanRead( wxInputStream& stream );
38 #endif
39
40 private:
41 DECLARE_DYNAMIC_CLASS(wxGIFHandler)
42 };
43 #endif
44
45
46 #endif
47 // _WX_IMAGGIF_H_
48

  ViewVC Help
Powered by ViewVC 1.1.22