]>
git.saurik.com Git - wxWidgets.git/blob - src/dfb/dcscreen.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/dfb/dcscreen.cpp
3 // Purpose: wxScreenDC 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"
22 #include "wx/dcscreen.h"
23 #include "wx/dfb/dcscreen.h"
24 #include "wx/dfb/private.h"
26 // ===========================================================================
28 // ===========================================================================
30 //-----------------------------------------------------------------------------
32 //-----------------------------------------------------------------------------
34 #warning "FIXME: this doesn't work (neither single app nor multiapp core)
35 // FIXME: maybe use a subsurface as well?
37 IMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl, wxDFBDCImpl)
39 wxScreenDCImpl::wxScreenDCImpl(wxScreenDC *owner)
42 DFBInit(wxIDirectFB::Get()->GetPrimarySurface());
45 #warning "FIXME: does wxScreenDC need Flip call in dtor?"