]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/imaggif.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxImage handler for GIFs (read-only)
4 // Author: Vaclav Slavik (of this header only)
5 // Licence: wxWindows licence
6 /////////////////////////////////////////////////////////////////////////////
12 #pragma interface "imaggif.h"
16 #include <wx/object.h>
17 #include <wx/string.h>
18 #include <wx/gdicmn.h>
19 #include <wx/stream.h>
22 //-----------------------------------------------------------------------------
24 //-----------------------------------------------------------------------------
26 class WXDLLEXPORT wxGIFHandler
: public wxImageHandler
28 DECLARE_DYNAMIC_CLASS(wxGIFHandler
)
36 m_type
= wxBITMAP_TYPE_GIF
;
39 virtual bool LoadFile( wxImage
*image
, wxInputStream
& stream
);
40 virtual bool SaveFile( wxImage
*image
, wxOutputStream
& stream
);