]>
Commit | Line | Data |
---|---|---|
c801d85f | 1 | ///////////////////////////////////////////////////////////////////////////// |
8ef94bfc | 2 | // Name: wx/gtk1/dcscreen.h |
c801d85f KB |
3 | // Purpose: |
4 | // Author: Robert Roebling | |
dbf858b5 RR |
5 | // Id: $Id$ |
6 | // Copyright: (c) 1998 Robert Roebling | |
65571936 | 7 | // Licence: wxWindows licence |
c801d85f KB |
8 | ///////////////////////////////////////////////////////////////////////////// |
9 | ||
c801d85f KB |
10 | #ifndef __GTKDCSCREENH__ |
11 | #define __GTKDCSCREENH__ | |
12 | ||
13 | #include "wx/dcclient.h" | |
14 | ||
dbf858b5 RR |
15 | //----------------------------------------------------------------------------- |
16 | // classes | |
17 | //----------------------------------------------------------------------------- | |
18 | ||
b5dbe15d | 19 | class WXDLLIMPEXP_FWD_CORE wxScreenDC; |
dbf858b5 RR |
20 | |
21 | //----------------------------------------------------------------------------- | |
22 | // wxScreenDC | |
23 | //----------------------------------------------------------------------------- | |
24 | ||
20123d49 | 25 | class WXDLLIMPEXP_CORE wxScreenDC : public wxPaintDC |
c801d85f | 26 | { |
ec758a20 | 27 | public: |
20e05ffb | 28 | wxScreenDC(); |
376aa62a | 29 | virtual ~wxScreenDC(); |
20e05ffb RR |
30 | |
31 | static bool StartDrawingOnTop( wxWindow *window ); | |
32 | static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL ); | |
33 | static bool EndDrawingOnTop(); | |
34 | ||
35 | // implementation | |
376aa62a | 36 | |
20e05ffb RR |
37 | static GdkWindow *sm_overlayWindow; |
38 | static int sm_overlayWindowX; | |
39 | static int sm_overlayWindowY; | |
376aa62a VZ |
40 | |
41 | protected: | |
42 | virtual void DoGetSize(int *width, int *height) const; | |
43 | ||
20e05ffb RR |
44 | private: |
45 | DECLARE_DYNAMIC_CLASS(wxScreenDC) | |
c801d85f KB |
46 | }; |
47 | ||
48 | #endif | |
dbf858b5 | 49 | |
c801d85f KB |
50 | // __GTKDCSCREENH__ |
51 |