2005-05-04 18:57:50 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/dcclient.h
|
|
|
|
// Purpose: wxClientDC base header
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Copyright: (c) Julian Smart
|
|
|
|
// Licence: wxWindows Licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-15 00:23:28 +00:00
|
|
|
#ifndef _WX_DCCLIENT_H_BASE_
|
|
|
|
#define _WX_DCCLIENT_H_BASE_
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2007-11-30 13:48:22 +00:00
|
|
|
#include "wx/dc.h"
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxWindowDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
|
|
|
|
{
|
|
|
|
public:
|
2007-11-30 20:56:12 +00:00
|
|
|
wxWindowDC(wxWindow *win);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxWindowDC(wxDCImpl *impl) : wxDC(impl) { }
|
2007-11-30 13:48:22 +00:00
|
|
|
|
|
|
|
private:
|
2015-04-23 11:49:01 +00:00
|
|
|
wxDECLARE_ABSTRACT_CLASS(wxWindowDC);
|
2007-11-30 13:48:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxClientDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_CORE wxClientDC : public wxWindowDC
|
|
|
|
{
|
|
|
|
public:
|
2007-11-30 20:56:12 +00:00
|
|
|
wxClientDC(wxWindow *win);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxClientDC(wxDCImpl *impl) : wxWindowDC(impl) { }
|
2007-11-30 13:48:22 +00:00
|
|
|
|
|
|
|
private:
|
2015-04-23 11:49:01 +00:00
|
|
|
wxDECLARE_ABSTRACT_CLASS(wxClientDC);
|
2007-11-30 13:48:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxPaintDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_CORE wxPaintDC : public wxClientDC
|
|
|
|
{
|
|
|
|
public:
|
2007-11-30 20:56:12 +00:00
|
|
|
wxPaintDC(wxWindow *win);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxPaintDC(wxDCImpl *impl) : wxClientDC(impl) { }
|
2007-11-30 13:48:22 +00:00
|
|
|
|
|
|
|
private:
|
2015-04-23 11:49:01 +00:00
|
|
|
wxDECLARE_ABSTRACT_CLASS(wxPaintDC);
|
2007-11-30 13:48:22 +00:00
|
|
|
};
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2007-11-30 20:56:12 +00:00
|
|
|
#endif // _WX_DCCLIENT_H_BASE_
|