]>
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 | // wxScreenDC | |
17 | //----------------------------------------------------------------------------- | |
18 | ||
19 | #if wxUSE_NEW_DC | |
20 | class WXDLLIMPEXP_CORE wxGTKScreenImplDC : public wxGTKWindowImplDC | |
21 | #else | |
22 | #define wxGTKScreenImplDC wxScreenDC | |
23 | class WXDLLIMPEXP_CORE wxScreenDC : public wxWindowDC | |
24 | #endif | |
25 | { | |
26 | public: | |
27 | ||
28 | #if wxUSE_NEW_DC | |
29 | wxGTKScreenImplDC( wxScreenDC *owner ); | |
30 | #else | |
31 | wxScreenDC(); | |
32 | #endif | |
33 | ||
34 | ~wxGTKScreenImplDC(); | |
35 | ||
36 | static bool StartDrawingOnTop( wxWindow *window ) { return true; } | |
37 | static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL ) { return true; } | |
38 | static bool EndDrawingOnTop() { return true; } | |
39 | ||
40 | ||
41 | protected: | |
42 | virtual void DoGetSize(int *width, int *height) const; | |
43 | ||
44 | void Init(); | |
45 | ||
46 | private: | |
47 | DECLARE_ABSTRACT_CLASS(wxGTKScreenImplDC) | |
48 | }; | |
49 | ||
50 | #endif | |
51 | ||
52 | // __GTKDCSCREENH__ | |
53 |