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
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxWindowDC : public wxDC
|
|
|
|
{
|
|
|
|
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
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxClientDC : public wxWindowDC
|
|
|
|
{
|
|
|
|
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
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxPaintDC : public wxClientDC
|
|
|
|
{
|
|
|
|
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__
|