]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/x11/dcscreen.h
1 /////////////////////////////////////////////////////////////////////////////
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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "dcscreen.h"
19 #include "wx/dcclient.h"
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 WXWindow
*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
)