]>
Commit | Line | Data |
---|---|---|
32b8ec41 VZ |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: dcclient.h | |
3 | // Purpose: | |
4 | // Author: Vaclav Slavik | |
5 | // Id: $Id$ | |
8f7b34a8 | 6 | // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) |
32b8ec41 VZ |
7 | // Licence: wxWindows licence |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #ifndef __WX_DCCLIENT_H__ | |
11 | #define __WX_DCCLIENT_H__ | |
12 | ||
13 | #ifdef __GNUG__ | |
14 | #pragma interface "dcclient.h" | |
15 | #endif | |
16 | ||
17 | #include "wx/dc.h" | |
a4bbc9f7 VS |
18 | |
19 | class WXDLLEXPORT wxWindowMGL; | |
32b8ec41 VZ |
20 | |
21 | //----------------------------------------------------------------------------- | |
22 | // classes | |
23 | //----------------------------------------------------------------------------- | |
24 | ||
25 | class WXDLLEXPORT wxWindowDC; | |
26 | class WXDLLEXPORT wxPaintDC; | |
27 | class WXDLLEXPORT wxClientDC; | |
28 | ||
29 | //----------------------------------------------------------------------------- | |
30 | // wxWindowDC | |
31 | //----------------------------------------------------------------------------- | |
32 | ||
32b8ec41 VZ |
33 | class WXDLLEXPORT wxWindowDC : public wxDC |
34 | { | |
35 | public: | |
36 | wxWindowDC() {} | |
a4bbc9f7 VS |
37 | virtual ~wxWindowDC(); |
38 | wxWindowDC(wxWindow *win); | |
39 | ||
40 | protected: | |
41 | wxWindow *m_wnd; | |
32b8ec41 VZ |
42 | |
43 | private: | |
44 | DECLARE_DYNAMIC_CLASS(wxWindowDC) | |
45 | }; | |
46 | ||
47 | //----------------------------------------------------------------------------- | |
48 | // wxClientDC | |
49 | //----------------------------------------------------------------------------- | |
50 | ||
51 | class WXDLLEXPORT wxClientDC : public wxWindowDC | |
52 | { | |
53 | public: | |
a4bbc9f7 VS |
54 | wxClientDC() : wxWindowDC() {} |
55 | wxClientDC(wxWindow *win); | |
32b8ec41 VZ |
56 | |
57 | private: | |
a4bbc9f7 | 58 | wxWindowMGL *m_wnd; |
32b8ec41 VZ |
59 | DECLARE_DYNAMIC_CLASS(wxClientDC) |
60 | }; | |
61 | ||
62 | //----------------------------------------------------------------------------- | |
63 | // wxPaintDC | |
64 | //----------------------------------------------------------------------------- | |
65 | ||
a4bbc9f7 | 66 | // FIXME_MGL |
32b8ec41 VZ |
67 | class WXDLLEXPORT wxPaintDC : public wxClientDC |
68 | { | |
69 | public: | |
70 | wxPaintDC() { } | |
71 | wxPaintDC( wxWindow *win ) {} | |
72 | ||
73 | private: | |
74 | DECLARE_DYNAMIC_CLASS(wxPaintDC) | |
75 | }; | |
76 | ||
77 | #endif // __WX_DCCLIENT_H__ |