]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: wx/msw/dcscreen.h | |
3 | // Purpose: wxScreenDC class | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
7 | // Copyright: (c) Julian Smart | |
8 | // Licence: wxWindows licence | |
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #ifndef _WX_MSW_DCSCREEN_H_ | |
12 | #define _WX_MSW_DCSCREEN_H_ | |
13 | ||
14 | #include "wx/dcscreen.h" | |
15 | #include "wx/msw/dc.h" | |
16 | ||
17 | class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxMSWDCImpl | |
18 | { | |
19 | public: | |
20 | // Create a DC representing the whole screen | |
21 | wxScreenDCImpl( wxScreenDC *owner ); | |
22 | ||
23 | virtual void DoGetSize(int *w, int *h) const | |
24 | { | |
25 | GetDeviceSize(w, h); | |
26 | } | |
27 | ||
28 | DECLARE_CLASS(wxScreenDCImpl) | |
29 | wxDECLARE_NO_COPY_CLASS(wxScreenDCImpl); | |
30 | }; | |
31 | ||
32 | #endif // _WX_MSW_DCSCREEN_H_ | |
33 |