]>
git.saurik.com Git - wxWidgets.git/blob - src/dfb/dcmemory.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/dfb/dcmemory.cpp
3 // Purpose: wxMemoryDCImpl implementation
4 // Author: Vaclav Slavik
7 // Copyright: (c) 2006 REA Elektronik GmbH
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 // ===========================================================================
13 // ===========================================================================
15 // ---------------------------------------------------------------------------
17 // ---------------------------------------------------------------------------
19 // For compilers that support precompilation, includes "wx.h".
20 #include "wx/wxprec.h"
23 #include "wx/bitmap.h"
26 #include "wx/dfb/dcmemory.h"
27 #include "wx/dfb/private.h"
29 // ===========================================================================
31 // ===========================================================================
33 //-----------------------------------------------------------------------------
35 //-----------------------------------------------------------------------------
37 #warning "FIXME: verify/fix that wxMemoryDCImpl works correctly with mono bitmaps"
39 IMPLEMENT_ABSTRACT_CLASS(wxMemoryDCImpl
, wxDFBDCImpl
)
41 void wxMemoryDCImpl::Init()
45 wxMemoryDCImpl::wxMemoryDCImpl(wxMemoryDC
*owner
, wxDC
*WXUNUSED(dc
))
50 void wxMemoryDCImpl::DoSelect(const wxBitmap
& bitmap
)
56 // select the bitmap out of the DC
61 // init the DC for drawing to this bitmap
62 DFBInit(bitmap
.GetDirectFBSurface());