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)
|
2001-06-26 17:05:06 -04:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __WX_DCCLIENT_H__
|
|
|
|
#define __WX_DCCLIENT_H__
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "dcclient.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dc.h"
|
2001-08-01 18:57:11 -04:00
|
|
|
|
2001-06-26 17:05:06 -04:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// classes
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxWindowDC;
|
|
|
|
class WXDLLEXPORT wxPaintDC;
|
|
|
|
class WXDLLEXPORT wxClientDC;
|
2001-08-09 18:40:39 -04:00
|
|
|
class WXDLLEXPORT 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__
|