]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/dfb/dcmemory.h
SetTextColour is gone
[wxWidgets.git] / include / wx / dfb / dcmemory.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/dfb/dcmemory.h
3// Purpose: wxMemoryDC class declaration
4// Created: 2006-08-10
5// Author: Vaclav Slavik
6// RCS-ID: $Id$
7// Copyright: (c) 2006 REA Elektronik GmbH
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_DFB_DCMEMORY_H_
12#define _WX_DFB_DCMEMORY_H_
13
14#include "wx/dc.h"
15#include "wx/bitmap.h"
16
17class WXDLLIMPEXP_CORE wxMemoryDC : public wxDC
18{
19public:
20 wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap );
21 wxMemoryDC(wxDC *dc); // create compatible DC
22
23 virtual void SelectObject(const wxBitmap& bitmap);
24
25 // implementation from now on:
26
27 wxBitmap GetSelectedObject() const { return m_bmp; }
28
29private:
30 wxBitmap m_bmp;
31
32 DECLARE_DYNAMIC_CLASS(wxMemoryDC)
33};
34
35#endif // _WX_DFB_DCMEMORY_H_
36