1999-01-01 16:05:26 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcclient.h
|
|
|
|
// Purpose: wxClientDC, wxPaintDC and wxWindowDC classes
|
|
|
|
// Author: AUTHOR
|
|
|
|
// Modified by:
|
|
|
|
// Created: ??/??/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) AUTHOR
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_DCCLIENT_H_
|
|
|
|
#define _WX_DCCLIENT_H_
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "dcclient.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dc.h"
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// classes
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxPaintDC;
|
|
|
|
class WXDLLEXPORT wxWindow;
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxWindowDC: public wxDC
|
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxWindowDC)
|
|
|
|
|
1999-11-05 09:16:09 +00:00
|
|
|
public:
|
|
|
|
wxWindowDC(void);
|
|
|
|
|
|
|
|
// Create a DC corresponding to a canvas
|
|
|
|
wxWindowDC(wxWindow *win);
|
|
|
|
|
|
|
|
~wxWindowDC(void);
|
1999-01-01 16:05:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
1999-11-05 09:16:09 +00:00
|
|
|
class WXDLLEXPORT wxClientDC: public wxWindowDC
|
1999-01-01 16:05:26 +00:00
|
|
|
{
|
1999-11-05 09:16:09 +00:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxClientDC)
|
1999-01-01 16:05:26 +00:00
|
|
|
|
1999-11-05 09:16:09 +00:00
|
|
|
public:
|
|
|
|
wxClientDC(void);
|
1999-01-01 16:05:26 +00:00
|
|
|
|
1999-11-05 09:16:09 +00:00
|
|
|
// Create a DC corresponding to a canvas
|
|
|
|
wxClientDC(wxWindow *win);
|
1999-01-01 16:05:26 +00:00
|
|
|
|
1999-11-05 09:16:09 +00:00
|
|
|
~wxClientDC(void);
|
1999-01-01 16:05:26 +00:00
|
|
|
};
|
|
|
|
|
1999-11-05 09:16:09 +00:00
|
|
|
class WXDLLEXPORT wxPaintDC: public wxWindowDC
|
1999-01-01 16:05:26 +00:00
|
|
|
{
|
1999-11-05 09:16:09 +00:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxPaintDC)
|
1999-01-01 16:05:26 +00:00
|
|
|
|
1999-11-05 09:16:09 +00:00
|
|
|
public:
|
|
|
|
wxPaintDC(void);
|
1999-01-01 16:05:26 +00:00
|
|
|
|
1999-11-05 09:16:09 +00:00
|
|
|
// Create a DC corresponding to a canvas
|
|
|
|
wxPaintDC(wxWindow *win);
|
1999-01-01 16:05:26 +00:00
|
|
|
|
1999-11-05 09:16:09 +00:00
|
|
|
~wxPaintDC(void);
|
1999-01-01 16:05:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_DCCLIENT_H_
|