1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/dcscreen.h
3 // Purpose: wxScreenDCImpl class
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_DCSCREEN_H_
12 #define _WX_DCSCREEN_H_
14 #include "wx/motif/dcclient.h"
16 class WXDLLIMPEXP_CORE wxScreenDCImpl
: public wxWindowDCImpl
19 // Create a DC representing the whole screen
20 wxScreenDCImpl(wxScreenDC
*owner
);
21 virtual ~wxScreenDCImpl();
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();
30 static WXWindow sm_overlayWindow
;
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
35 static int sm_overlayWindowX
;
36 static int sm_overlayWindowY
;
38 DECLARE_DYNAMIC_CLASS(wxScreenDCImpl
)
41 #endif // _WX_DCSCREEN_H_