]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: dcclient.h | |
3 | // Purpose: | |
4 | // Author: Vaclav Slavik | |
5 | // Id: $Id$ | |
6 | // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) | |
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" | |
18 | ||
19 | class WXDLLEXPORT wxWindowMGL; | |
20 | ||
21 | //----------------------------------------------------------------------------- | |
22 | // classes | |
23 | //----------------------------------------------------------------------------- | |
24 | ||
25 | class WXDLLEXPORT wxWindowDC; | |
26 | class WXDLLEXPORT wxPaintDC; | |
27 | class WXDLLEXPORT wxClientDC; | |
28 | ||
29 | //----------------------------------------------------------------------------- | |
30 | // wxWindowDC | |
31 | //----------------------------------------------------------------------------- | |
32 | ||
33 | class WXDLLEXPORT wxWindowDC : public wxDC | |
34 | { | |
35 | public: | |
36 | wxWindowDC() {} | |
37 | virtual ~wxWindowDC(); | |
38 | wxWindowDC(wxWindow *win); | |
39 | ||
40 | protected: | |
41 | wxWindow *m_wnd; | |
42 | ||
43 | private: | |
44 | DECLARE_DYNAMIC_CLASS(wxWindowDC) | |
45 | }; | |
46 | ||
47 | //----------------------------------------------------------------------------- | |
48 | // wxClientDC | |
49 | //----------------------------------------------------------------------------- | |
50 | ||
51 | class WXDLLEXPORT wxClientDC : public wxWindowDC | |
52 | { | |
53 | public: | |
54 | wxClientDC() : wxWindowDC() {} | |
55 | wxClientDC(wxWindow *win); | |
56 | ||
57 | private: | |
58 | wxWindowMGL *m_wnd; | |
59 | DECLARE_DYNAMIC_CLASS(wxClientDC) | |
60 | }; | |
61 | ||
62 | //----------------------------------------------------------------------------- | |
63 | // wxPaintDC | |
64 | //----------------------------------------------------------------------------- | |
65 | ||
66 | // FIXME_MGL | |
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__ |