1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk1/dcscreen.h
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef __GTKDCSCREENH__
11 #define __GTKDCSCREENH__
13 #include "wx/dcclient.h"
15 //-----------------------------------------------------------------------------
17 //-----------------------------------------------------------------------------
19 class WXDLLIMPEXP_CORE wxScreenDC
;
21 //-----------------------------------------------------------------------------
23 //-----------------------------------------------------------------------------
25 class WXDLLIMPEXP_CORE wxScreenDC
: public wxPaintDC
29 virtual ~wxScreenDC();
31 static bool StartDrawingOnTop( wxWindow
*window
);
32 static bool StartDrawingOnTop( wxRect
*rect
= (wxRect
*) NULL
);
33 static bool EndDrawingOnTop();
37 static GdkWindow
*sm_overlayWindow
;
38 static int sm_overlayWindowX
;
39 static int sm_overlayWindowY
;
42 virtual void DoGetSize(int *width
, int *height
) const;
45 DECLARE_DYNAMIC_CLASS(wxScreenDC
)