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

Contents of /branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/statbmp.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: 2015 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/statbmp.h
3 // Purpose: wxStaticBitmap class interface
4 // Author: Vadim Zeitlin
5 // Modified by:
6 // Created: 25.08.00
7 // RCS-ID: $Id: statbmp.h 37066 2006-01-23 03:27:34Z MR $
8 // Copyright: (c) 2000 Vadim Zeitlin
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_STATBMP_H_BASE_
13 #define _WX_STATBMP_H_BASE_
14
15 #include "wx/defs.h"
16
17 #if wxUSE_STATBMP
18
19 #include "wx/control.h"
20 #include "wx/bitmap.h"
21 #include "wx/icon.h"
22
23 extern WXDLLEXPORT_DATA(const wxChar) wxStaticBitmapNameStr[];
24
25 // a control showing an icon or a bitmap
26 class WXDLLEXPORT wxStaticBitmapBase : public wxControl
27 {
28 public:
29 wxStaticBitmapBase() { }
30 virtual ~wxStaticBitmapBase();
31
32 // our interface
33 virtual void SetIcon(const wxIcon& icon) = 0;
34 virtual void SetBitmap(const wxBitmap& bitmap) = 0;
35 virtual wxBitmap GetBitmap() const = 0;
36 virtual wxIcon GetIcon() const /* = 0 -- should be pure virtual */
37 {
38 // stub it out here for now as not all ports implement it (but they
39 // should)
40 return wxIcon();
41 }
42
43 // overriden base class virtuals
44 virtual bool AcceptsFocus() const { return false; }
45 virtual bool HasTransparentBackground() { return true; }
46
47 protected:
48 virtual wxSize DoGetBestSize() const;
49
50 DECLARE_NO_COPY_CLASS(wxStaticBitmapBase)
51 };
52
53 #if defined(__WXUNIVERSAL__)
54 #include "wx/univ/statbmp.h"
55 #elif defined(__WXMSW__)
56 #include "wx/msw/statbmp.h"
57 #elif defined(__WXMOTIF__)
58 #include "wx/motif/statbmp.h"
59 #elif defined(__WXGTK20__)
60 #include "wx/gtk/statbmp.h"
61 #elif defined(__WXGTK__)
62 #include "wx/gtk1/statbmp.h"
63 #elif defined(__WXMAC__)
64 #include "wx/mac/statbmp.h"
65 #elif defined(__WXCOCOA__)
66 #include "wx/cocoa/statbmp.h"
67 #elif defined(__WXPM__)
68 #include "wx/os2/statbmp.h"
69 #endif
70
71 #endif // wxUSE_STATBMP
72
73 #endif
74 // _WX_STATBMP_H_BASE_

  ViewVC Help
Powered by ViewVC 1.1.22