2001-06-26 21:05:06 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcclient.h
|
|
|
|
// Purpose:
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Id: $Id$
|
2001-06-29 19:03:13 +00:00
|
|
|
// Copyright: (c) 2001 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__
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#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__
|