]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/dcscreen.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWidgets licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef __GTKDCSCREENH__
11 #define __GTKDCSCREENH__
13 #include "wx/dcclient.h"
15 //-----------------------------------------------------------------------------
17 //-----------------------------------------------------------------------------
21 //-----------------------------------------------------------------------------
23 //-----------------------------------------------------------------------------
25 class 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
)