1999-01-01 16:05:26 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcclient.h
|
|
|
|
// Purpose: wxClientDC, wxPaintDC and wxWindowDC classes
|
2003-02-28 21:54:04 +00:00
|
|
|
// Author: Stefan Csomor
|
1999-01-01 16:05:26 +00:00
|
|
|
// Modified by:
|
2003-02-28 21:54:04 +00:00
|
|
|
// Created: 1998-01-01
|
1999-01-01 16:05:26 +00:00
|
|
|
// RCS-ID: $Id$
|
2003-02-28 21:54:04 +00:00
|
|
|
// Copyright: (c) Stefan Csomor
|
2003-02-28 23:36:37 +00:00
|
|
|
// Licence: wxWindows licence
|
1999-01-01 16:05:26 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_DCCLIENT_H_
|
|
|
|
#define _WX_DCCLIENT_H_
|
|
|
|
|
2002-08-31 11:29:13 +00:00
|
|
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
1999-01-01 16:05:26 +00:00
|
|
|
#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_
|