2001-06-26 21:05:06 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcclient.h
|
|
|
|
// Purpose:
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Id: $Id$
|
2002-02-14 20:30:34 +00:00
|
|
|
// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
|
2001-06-26 21:05:06 +00:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __WX_DCCLIENT_H__
|
|
|
|
#define __WX_DCCLIENT_H__
|
|
|
|
|
2003-08-09 12:38:21 +00:00
|
|
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
2001-06-26 21:05:06 +00:00
|
|
|
#pragma interface "dcclient.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dc.h"
|
2001-08-01 22:57:11 +00:00
|
|
|
|
2001-06-26 21:05:06 +00:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// classes
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxWindowDC;
|
|
|
|
class WXDLLEXPORT wxPaintDC;
|
|
|
|
class WXDLLEXPORT wxClientDC;
|
2001-08-09 22:40:39 +00:00
|
|
|
class WXDLLEXPORT wxWindowMGL;
|
2001-06-26 21:05:06 +00:00
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxWindowDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxWindowDC : public wxDC
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxWindowDC() {}
|
2001-08-01 22:57:11 +00:00
|
|
|
virtual ~wxWindowDC();
|
|
|
|
wxWindowDC(wxWindow *win);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxWindow *m_wnd;
|
2001-08-09 22:40:39 +00:00
|
|
|
bool m_inPaintHandler;
|
2001-06-26 21:05:06 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxWindowDC)
|
|
|
|
};
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxClientDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxClientDC : public wxWindowDC
|
|
|
|
{
|
|
|
|
public:
|
2001-08-01 22:57:11 +00:00
|
|
|
wxClientDC() : wxWindowDC() {}
|
|
|
|
wxClientDC(wxWindow *win);
|
2001-06-26 21:05:06 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxClientDC)
|
|
|
|
};
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxPaintDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxPaintDC : public wxClientDC
|
|
|
|
{
|
|
|
|
public:
|
2001-08-09 22:40:39 +00:00
|
|
|
wxPaintDC() : wxClientDC() {}
|
|
|
|
wxPaintDC(wxWindow *win) : wxClientDC(win) {}
|
2001-06-26 21:05:06 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxPaintDC)
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __WX_DCCLIENT_H__
|