1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcclient.h
|
|
|
|
// Purpose: wxClientDC class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Julian Smart and Markus Holzem
|
|
|
|
// Licence: wxWindows license
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-07 19:52:45 -04:00
|
|
|
#ifndef _WX_DCCLIENT_H_
|
|
|
|
#define _WX_DCCLIENT_H_
|
1998-05-20 10:12:05 -04:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "dcclient.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dc.h"
|
|
|
|
|
1998-11-30 07:52:58 -05:00
|
|
|
class WXDLLEXPORT wxWindowDC: public wxDC
|
1998-05-20 10:12:05 -04:00
|
|
|
{
|
1998-11-30 07:52:58 -05:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxWindowDC)
|
1998-05-20 10:12:05 -04:00
|
|
|
|
|
|
|
public:
|
1998-11-30 07:52:58 -05:00
|
|
|
wxWindowDC(void);
|
1998-05-20 10:12:05 -04:00
|
|
|
|
|
|
|
// Create a DC corresponding to a canvas
|
1998-11-30 07:52:58 -05:00
|
|
|
wxWindowDC(wxWindow *win);
|
1998-05-20 10:12:05 -04:00
|
|
|
|
1998-11-30 07:52:58 -05:00
|
|
|
~wxWindowDC(void);
|
1998-05-20 10:12:05 -04:00
|
|
|
};
|
|
|
|
|
1998-11-30 07:52:58 -05:00
|
|
|
class WXDLLEXPORT wxClientDC: public wxWindowDC
|
1998-05-20 10:12:05 -04:00
|
|
|
{
|
1998-11-30 07:52:58 -05:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxClientDC)
|
1998-05-20 10:12:05 -04:00
|
|
|
|
|
|
|
public:
|
1998-11-30 07:52:58 -05:00
|
|
|
wxClientDC(void);
|
1998-05-20 10:12:05 -04:00
|
|
|
|
|
|
|
// Create a DC corresponding to a canvas
|
1998-11-30 07:52:58 -05:00
|
|
|
wxClientDC(wxWindow *win);
|
1998-05-20 10:12:05 -04:00
|
|
|
|
1998-11-30 07:52:58 -05:00
|
|
|
~wxClientDC(void);
|
1998-05-20 10:12:05 -04:00
|
|
|
};
|
|
|
|
|
1998-11-30 07:52:58 -05:00
|
|
|
class WXDLLEXPORT wxPaintDC: public wxWindowDC
|
1998-05-20 10:12:05 -04:00
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxPaintDC)
|
|
|
|
|
|
|
|
public:
|
|
|
|
wxPaintDC(void);
|
|
|
|
|
|
|
|
// Create a DC corresponding to a canvas
|
|
|
|
wxPaintDC(wxWindow *win);
|
|
|
|
|
|
|
|
~wxPaintDC(void);
|
|
|
|
|
|
|
|
protected:
|
1998-08-07 18:22:30 -04:00
|
|
|
static WXHDC ms_PaintHDC;
|
1998-08-18 16:15:51 -04:00
|
|
|
static size_t ms_PaintCount;
|
1998-05-20 10:12:05 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
1998-08-07 19:52:45 -04:00
|
|
|
// _WX_DCCLIENT_H_
|