]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: dcscreen.h | |
3 | // Purpose: | |
4 | // Author: Robert Roebling | |
5 | // Id: $Id$ | |
6 | // Copyright: (c) 1998 Robert Roebling | |
7 | // Licence: wxWindows licence | |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #ifndef __GTKDCSCREENH__ | |
11 | #define __GTKDCSCREENH__ | |
12 | ||
13 | #include "wx/dcclient.h" | |
14 | ||
15 | //----------------------------------------------------------------------------- | |
16 | // classes | |
17 | //----------------------------------------------------------------------------- | |
18 | ||
19 | class wxScreenDC; | |
20 | ||
21 | //----------------------------------------------------------------------------- | |
22 | // wxScreenDC | |
23 | //----------------------------------------------------------------------------- | |
24 | ||
25 | class wxScreenDC: public wxPaintDC | |
26 | { | |
27 | DECLARE_DYNAMIC_CLASS(wxScreenDC) | |
28 | ||
29 | public: | |
30 | wxScreenDC(void); | |
31 | ~wxScreenDC(void); | |
32 | ||
33 | static bool StartDrawingOnTop( wxWindow *window ); | |
34 | static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL ); | |
35 | static bool EndDrawingOnTop(void); | |
36 | ||
37 | // implementation | |
38 | ||
39 | static GdkWindow *sm_overlayWindow; | |
40 | static int sm_overlayWindowX; | |
41 | static int sm_overlayWindowY; | |
42 | }; | |
43 | ||
44 | #endif | |
45 | ||
46 | // __GTKDCSCREENH__ | |
47 |