Remove all lines containing cvs/svn "$Id$" keyword.
[wxWidgets.git] / include / wx / motif / dcscreen.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/dcscreen.h
3 // Purpose: wxScreenDCImpl class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 17/09/98
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_DCSCREEN_H_
12 #define _WX_DCSCREEN_H_
13
14 #include "wx/motif/dcclient.h"
15
16 class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxWindowDCImpl
17 {
18 public:
19 // Create a DC representing the whole screen
20 wxScreenDCImpl(wxScreenDC *owner);
21 virtual ~wxScreenDCImpl();
22
23 // Compatibility with X's requirements for
24 // drawing on top of all windows
25 static bool StartDrawingOnTop(wxWindow* window);
26 static bool StartDrawingOnTop(wxRect* rect = NULL);
27 static bool EndDrawingOnTop();
28
29 private:
30 static WXWindow sm_overlayWindow;
31
32 // If we have started transparent drawing at a non-(0,0) point
33 // then we will have to adjust the device origin in the
34 // constructor.
35 static int sm_overlayWindowX;
36 static int sm_overlayWindowY;
37
38 DECLARE_DYNAMIC_CLASS(wxScreenDCImpl)
39 };
40
41 #endif // _WX_DCSCREEN_H_