]> git.saurik.com Git - wxWidgets.git/blame - include/wx/x11/dcmemory.h
No changes, synchronised source names that appear commented at the top of files with...
[wxWidgets.git] / include / wx / x11 / dcmemory.h
CommitLineData
83df96d6 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/x11/dcmemory.h
83df96d6
JS
3// Purpose: wxMemoryDC class
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
65571936 9// Licence: wxWindows licence
83df96d6
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCMEMORY_H_
13#define _WX_DCMEMORY_H_
14
2b77c3fc
RR
15#include "wx/dc.h"
16#include "wx/dcmemory.h"
17#include "wx/x11/dcclient.h"
83df96d6 18
2b77c3fc 19class WXDLLIMPEXP_CORE wxMemoryDCImpl : public wxWindowDCImpl
83df96d6 20{
83df96d6 21public:
2b77c3fc
RR
22 wxMemoryDCImpl( wxDC* owner );
23 wxMemoryDCImpl( wxDC* owner, wxBitmap& bitmap);
24 wxMemoryDCImpl( wxDC* owner, wxDC *dc );
25 virtual ~wxMemoryDCImpl();
26
27 virtual const wxBitmap& GetSelectedBitmap() const;
28 virtual wxBitmap& GetSelectedBitmap();
03647350 29
3cd0b8c5
RR
30 // implementation
31 wxBitmap m_selected;
32
6f02a879 33protected:
fea35690
VZ
34 virtual void DoGetSize( int *width, int *height ) const;
35 virtual void DoSelect(const wxBitmap& bitmap);
36
37private:
38 void Init();
6f02a879 39
2b77c3fc
RR
40private:
41 DECLARE_CLASS(wxMemoryDCImpl)
83df96d6
JS
42};
43
44#endif
45// _WX_DCMEMORY_H_