]>
Commit | Line | Data |
---|---|---|
fb896a32 DE |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/cocoa/dcscreen.h | |
938156b2 | 3 | // Purpose: wxScreenDCImpl class |
fb896a32 DE |
4 | // Author: David Elliott |
5 | // Modified by: | |
6 | // Created: 2003/03/16 | |
fb896a32 | 7 | // Copyright: (c) 2003 David Elliott |
1c4e8f38 | 8 | // Licence: wxWindows licence |
fb896a32 DE |
9 | ///////////////////////////////////////////////////////////////////////////// |
10 | ||
11 | #ifndef __WX_COCOA_DCSCREEN_H__ | |
12 | #define __WX_COCOA_DCSCREEN_H__ | |
13 | ||
938156b2 DE |
14 | #include "wx/dcscreen.h" |
15 | #include "wx/cocoa/dc.h" | |
fb896a32 | 16 | |
53a2db12 | 17 | class WXDLLIMPEXP_CORE wxScreenDCImpl: public wxCocoaDCImpl |
fb896a32 | 18 | { |
938156b2 | 19 | DECLARE_DYNAMIC_CLASS(wxScreenDCImpl) |
fb896a32 | 20 | public: |
938156b2 DE |
21 | wxScreenDCImpl(wxScreenDC *owner); |
22 | wxScreenDCImpl(wxScreenDC *owner, wxDC *dc ); // Create compatible DC | |
23 | virtual ~wxScreenDCImpl(void); | |
15d521a1 DE |
24 | |
25 | // Compatibility with X's requirements for drawing on top of all windows | |
26 | static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return true; } | |
27 | static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return true; } | |
28 | static bool EndDrawingOnTop() { return true; } | |
fb896a32 DE |
29 | }; |
30 | ||
31 | #endif // __WX_COCOA_DCSCREEN_H__ |