]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/x11/dcscreen.h
First update patch for GTK+ print
[wxWidgets.git] / include / wx / x11 / dcscreen.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/x11/dcscreen.h
3// Purpose: wxScreenDC class
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCSCREEN_H_
13#define _WX_DCSCREEN_H_
14
15#include "wx/dcclient.h"
16
17//-----------------------------------------------------------------------------
18// wxScreenDC
19//-----------------------------------------------------------------------------
20
21class WXDLLIMPEXP_CORE wxScreenDC : public wxPaintDC
22{
23public:
24 wxScreenDC();
25 virtual ~wxScreenDC();
26
27 static bool StartDrawingOnTop( wxWindow *window );
28 static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL );
29 static bool EndDrawingOnTop();
30
31 // implementation
32
33 static WXWindow *sm_overlayWindow;
34 static int sm_overlayWindowX;
35 static int sm_overlayWindowY;
36
37protected:
38 virtual void DoGetSize(int *width, int *height) const;
39
40private:
41 DECLARE_DYNAMIC_CLASS(wxScreenDC)
42};
43
44
45#endif
46 // _WX_DCSCREEN_H_