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