1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/x11/dcscreen.h
3 // Purpose: wxScreenDC 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/dcclient.h"
17 //-----------------------------------------------------------------------------
19 //-----------------------------------------------------------------------------
21 class WXDLLIMPEXP_CORE wxScreenDC
: public wxPaintDC
25 virtual ~wxScreenDC();
27 static bool StartDrawingOnTop( wxWindow
*window
);
28 static bool StartDrawingOnTop( wxRect
*rect
= (wxRect
*) NULL
);
29 static bool EndDrawingOnTop();
33 static WXWindow
*sm_overlayWindow
;
34 static int sm_overlayWindowX
;
35 static int sm_overlayWindowY
;
38 virtual void DoGetSize(int *width
, int *height
) const;
41 DECLARE_DYNAMIC_CLASS(wxScreenDC
)