]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/dcmemory.h
Chnages to mono-bitmap code.
[wxWidgets.git] / include / wx / gtk1 / dcmemory.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: dcmemory.h
3 // Purpose:
4 // Author: Robert Roebling
5 // RCS-ID: $Id$
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10
11 #ifndef __GTKDCMEMORYH__
12 #define __GTKDCMEMORYH__
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "wx/defs.h"
19 #include "wx/dcclient.h"
20
21 //-----------------------------------------------------------------------------
22 // classes
23 //-----------------------------------------------------------------------------
24
25 class wxMemoryDC;
26
27 //-----------------------------------------------------------------------------
28 // wxMemoryDC
29 //-----------------------------------------------------------------------------
30
31 class wxMemoryDC : public wxWindowDC
32 {
33 public:
34 wxMemoryDC();
35 wxMemoryDC( wxDC *dc ); // Create compatible DC
36 ~wxMemoryDC();
37 virtual void SelectObject( const wxBitmap& bitmap );
38 void DoGetSize( int *width, int *height ) const;
39
40 // implementation
41 wxBitmap m_selected;
42
43 private:
44 DECLARE_DYNAMIC_CLASS(wxMemoryDC)
45 };
46
47 #endif
48 // __GTKDCMEMORYH__
49