]> git.saurik.com Git - wxWidgets.git/blame - src/dfb/dcscreen.cpp
fix compilation error for wxUSE_DC_CACHEING==0; use more descriptive variables names
[wxWidgets.git] / src / dfb / dcscreen.cpp
CommitLineData
b3c86150
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/dfb/dcscreen.cpp
3// Purpose: wxScreenDC implementation
4// Author: Vaclav Slavik
5// Created: 2006-08-16
6// RCS-ID: $Id$
7// Copyright: (c) 2006 REA Elektronik GmbH
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11// ===========================================================================
12// declarations
13// ===========================================================================
14
15// ---------------------------------------------------------------------------
16// headers
17// ---------------------------------------------------------------------------
18
19// For compilers that support precompilation, includes "wx.h".
20#include "wx/wxprec.h"
21
4a624f6e 22#include "wx/dfb/dcscreen.h"
b3c86150
VS
23#include "wx/dfb/private.h"
24
25// ===========================================================================
26// implementation
27// ===========================================================================
28
29//-----------------------------------------------------------------------------
30// wxScreenDC
31//-----------------------------------------------------------------------------
32
fa28b00c 33#warning "FIXME: this doesn't work (neither single app nor multiapp core)
b3c86150
VS
34// FIXME: maybe use a subsurface as well?
35
4a624f6e 36IMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl, wxDFBDCImpl)
b3c86150 37
4a624f6e
VZ
38wxScreenDCImpl::wxScreenDCImpl(wxScreenDC *owner)
39 : wxDFBDCImpl(owner)
b3c86150 40{
c16db850 41 DFBInit(wxIDirectFB::Get()->GetPrimarySurface());
b3c86150
VS
42}
43
44#warning "FIXME: does wxScreenDC need Flip call in dtor?"