]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: dcclient.h | |
3 | // Purpose: wxClientDC class | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart and Markus Holzem | |
9 | // Licence: wxWindows license | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
bbcdf8bc JS |
12 | #ifndef _WX_DCCLIENT_H_ |
13 | #define _WX_DCCLIENT_H_ | |
2bda0e17 KB |
14 | |
15 | #ifdef __GNUG__ | |
16 | #pragma interface "dcclient.h" | |
17 | #endif | |
18 | ||
19 | #include "wx/dc.h" | |
20 | ||
e6460682 | 21 | class WXDLLEXPORT wxWindowDC: public wxDC |
2bda0e17 | 22 | { |
e6460682 | 23 | DECLARE_DYNAMIC_CLASS(wxWindowDC) |
2bda0e17 KB |
24 | |
25 | public: | |
e6460682 | 26 | wxWindowDC(void); |
2bda0e17 KB |
27 | |
28 | // Create a DC corresponding to a canvas | |
e6460682 | 29 | wxWindowDC(wxWindow *win); |
2bda0e17 | 30 | |
e6460682 | 31 | ~wxWindowDC(void); |
2bda0e17 KB |
32 | }; |
33 | ||
e6460682 | 34 | class WXDLLEXPORT wxClientDC: public wxWindowDC |
2bda0e17 | 35 | { |
e6460682 | 36 | DECLARE_DYNAMIC_CLASS(wxClientDC) |
2bda0e17 KB |
37 | |
38 | public: | |
e6460682 | 39 | wxClientDC(void); |
2bda0e17 KB |
40 | |
41 | // Create a DC corresponding to a canvas | |
e6460682 | 42 | wxClientDC(wxWindow *win); |
2bda0e17 | 43 | |
e6460682 | 44 | ~wxClientDC(void); |
2bda0e17 KB |
45 | }; |
46 | ||
e6460682 | 47 | class WXDLLEXPORT wxPaintDC: public wxWindowDC |
2bda0e17 KB |
48 | { |
49 | DECLARE_DYNAMIC_CLASS(wxPaintDC) | |
50 | ||
51 | public: | |
52 | wxPaintDC(void); | |
53 | ||
54 | // Create a DC corresponding to a canvas | |
55 | wxPaintDC(wxWindow *win); | |
56 | ||
57 | ~wxPaintDC(void); | |
58 | ||
59 | protected: | |
83626bfa | 60 | static WXHDC ms_PaintHDC; |
3cda6353 | 61 | static size_t ms_PaintCount; |
2bda0e17 KB |
62 | }; |
63 | ||
64 | #endif | |
bbcdf8bc | 65 | // _WX_DCCLIENT_H_ |