]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/mgl/dcscreen.h
allocate HPEN on demand instead of doing every time a pen property is modified; also...
[wxWidgets.git] / include / wx / mgl / dcscreen.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcscreen.h
3// Purpose:
4// Author: Vaclav Slavik
5// Id: $Id$
6// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef __WX_DCSCREEN_H__
11#define __WX_DCSCREEN_H__
12
13#include "wx/dcclient.h"
14
15//-----------------------------------------------------------------------------
16// classes
17//-----------------------------------------------------------------------------
18
19class WXDLLEXPORT wxScreenDC;
20
21//-----------------------------------------------------------------------------
22// wxScreenDC
23//-----------------------------------------------------------------------------
24
25class WXDLLEXPORT wxScreenDC: public wxDC
26{
27public:
28 wxScreenDC();
29 virtual ~wxScreenDC();
30
31 static bool StartDrawingOnTop(wxWindow *WXUNUSED(window)) { return TRUE; }
32 static bool StartDrawingOnTop(wxRect *WXUNUSED(rect) = NULL) { return TRUE; }
33 static bool EndDrawingOnTop() { return TRUE; }
34
35private:
36 DECLARE_DYNAMIC_CLASS(wxScreenDC)
37};
38
39#endif
40
41 // __WX_DCSCREEN_H__
42