]>
Commit | Line | Data |
---|---|---|
0e320a79 DW |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: dcscreen.h | |
3 | // Purpose: wxScreenDC class | |
fb46a9a6 | 4 | // Author: David Webster |
0e320a79 | 5 | // Modified by: |
fb46a9a6 | 6 | // Created: 10/14/99 |
0e320a79 | 7 | // RCS-ID: $Id$ |
fb46a9a6 DW |
8 | // Copyright: (c) David Webster |
9 | // Licence: wxWindows licence | |
0e320a79 DW |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifndef _WX_DCSCREEN_H_ | |
13 | #define _WX_DCSCREEN_H_ | |
14 | ||
15 | #ifdef __GNUG__ | |
16 | #pragma interface "dcscreen.h" | |
17 | #endif | |
18 | ||
19 | #include "wx/dcclient.h" | |
20 | ||
21 | class WXDLLEXPORT wxScreenDC: public wxWindowDC | |
22 | { | |
0e320a79 DW |
23 | public: |
24 | // Create a DC representing the whole screen | |
25 | wxScreenDC(); | |
0e320a79 DW |
26 | |
27 | // Compatibility with X's requirements for | |
28 | // drawing on top of all windows | |
29 | static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return TRUE; } | |
30 | static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return TRUE; } | |
31 | static bool EndDrawingOnTop() { return TRUE; } | |
ac7fb818 DW |
32 | private: |
33 | DECLARE_DYNAMIC_CLASS(wxScreenDC) | |
34 | }; // end of CLASS wxScreenDC | |
0e320a79 DW |
35 | |
36 | #endif | |
37 | // _WX_DCSCREEN_H_ | |
38 |