1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/dcscreen.h
3 // Purpose: wxScreenDCImpl class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DCSCREEN_H_
13 #define _WX_DCSCREEN_H_
15 #include "wx/motif/dcclient.h"
17 class WXDLLEXPORT wxScreenDCImpl
: public wxWindowDCImpl
20 // Create a DC representing the whole screen
21 wxScreenDCImpl(wxScreenDC
*owner
);
22 virtual ~wxScreenDCImpl();
24 // Compatibility with X's requirements for
25 // drawing on top of all windows
26 static bool StartDrawingOnTop(wxWindow
* window
);
27 static bool StartDrawingOnTop(wxRect
* rect
= NULL
);
28 static bool EndDrawingOnTop();
31 static WXWindow sm_overlayWindow
;
33 // If we have started transparent drawing at a non-(0,0) point
34 // then we will have to adjust the device origin in the
36 static int sm_overlayWindowX
;
37 static int sm_overlayWindowY
;
39 DECLARE_DYNAMIC_CLASS(wxScreenDCImpl
)
42 #endif // _WX_DCSCREEN_H_