2001-06-26 17:05:06 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcclient.h
|
|
|
|
// Purpose:
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Id: $Id$
|
2002-02-14 15:30:34 -05:00
|
|
|
// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
2001-06-26 17:05:06 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __WX_DCCLIENT_H__
|
|
|
|
#define __WX_DCCLIENT_H__
|
|
|
|
|
|
|
|
#include "wx/dc.h"
|
2001-08-01 18:57:11 -04:00
|
|
|
|
2001-06-26 17:05:06 -04:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// classes
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2007-07-09 06:09:52 -04:00
|
|
|
class WXDLLIMPEXP_FWD_CORE wxWindowDC;
|
|
|
|
class WXDLLIMPEXP_FWD_CORE wxPaintDC;
|
|
|
|
class WXDLLIMPEXP_FWD_CORE wxClientDC;
|
|
|
|
class WXDLLIMPEXP_FWD_CORE wxWindowMGL;
|
2001-06-26 17:05:06 -04:00
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxWindowDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
|
2001-06-26 17:05:06 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxWindowDC() {}
|
2001-08-01 18:57:11 -04:00
|
|
|
virtual ~wxWindowDC();
|
|
|
|
wxWindowDC(wxWindow *win);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxWindow *m_wnd;
|
2001-08-09 18:40:39 -04:00
|
|
|
bool m_inPaintHandler;
|
2001-06-26 17:05:06 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxWindowDC)
|
|
|
|
};
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxClientDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxClientDC : public wxWindowDC
|
2001-06-26 17:05:06 -04:00
|
|
|
{
|
|
|
|
public:
|
2001-08-01 18:57:11 -04:00
|
|
|
wxClientDC() : wxWindowDC() {}
|
|
|
|
wxClientDC(wxWindow *win);
|
2001-06-26 17:05:06 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxClientDC)
|
|
|
|
};
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxPaintDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxPaintDC : public wxClientDC
|
2001-06-26 17:05:06 -04:00
|
|
|
{
|
|
|
|
public:
|
2001-08-09 18:40:39 -04:00
|
|
|
wxPaintDC() : wxClientDC() {}
|
|
|
|
wxPaintDC(wxWindow *win) : wxClientDC(win) {}
|
2001-06-26 17:05:06 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxPaintDC)
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __WX_DCCLIENT_H__
|