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

Contents of /branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/xpmdecod.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: 1456 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: wx/xpmdecod.h
3 // Purpose: wxXPMDecoder, XPM reader for wxImage and wxBitmap
4 // Author: Vaclav Slavik
5 // CVS-ID: $Id: xpmdecod.h 49804 2007-11-10 01:09:42Z VZ $
6 // Copyright: (c) 2001 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_XPMDECOD_H_
11 #define _WX_XPMDECOD_H_
12
13 #include "wx/defs.h"
14
15 #if wxUSE_IMAGE && wxUSE_XPM
16
17 class WXDLLIMPEXP_FWD_CORE wxImage;
18 class WXDLLIMPEXP_FWD_BASE wxInputStream;
19
20 // --------------------------------------------------------------------------
21 // wxXPMDecoder class
22 // --------------------------------------------------------------------------
23
24 class WXDLLEXPORT wxXPMDecoder
25 {
26 public:
27 // constructor, destructor, etc.
28 wxXPMDecoder() {}
29 ~wxXPMDecoder() {}
30
31 #if wxUSE_STREAMS
32 // Is the stream XPM file?
33 bool CanRead(wxInputStream& stream);
34 // Read XPM file from the stream, parse it and create image from it
35 wxImage ReadFile(wxInputStream& stream);
36 #endif
37 // Read directly from XPM data (as passed to wxBitmap ctor):
38 wxImage ReadData(const char* const* xpm_data);
39 #ifdef __BORLANDC__
40 // needed for Borland 5.5
41 wxImage ReadData(char** xpm_data) { return ReadData(wx_const_cast(const char* const*, xpm_data)); }
42 #endif
43 };
44
45 #endif // wxUSE_IMAGE && wxUSE_XPM
46
47 #endif // _WX_XPM_H_

  ViewVC Help
Powered by ViewVC 1.1.22