1998-08-07 17:32:13 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcmemory.h
|
1998-08-12 05:16:21 -04:00
|
|
|
// Purpose: wxMemoryDC class
|
|
|
|
// Author: AUTHOR
|
|
|
|
// Modified by:
|
|
|
|
// Created: ??/??/98
|
1998-08-07 17:32:13 -04:00
|
|
|
// RCS-ID: $Id$
|
1998-08-12 05:16:21 -04:00
|
|
|
// Copyright: (c) AUTHOR
|
1998-08-07 17:32:13 -04:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-12 05:16:21 -04:00
|
|
|
#ifndef _WX_DCMEMORY_H_
|
|
|
|
#define _WX_DCMEMORY_H_
|
1998-08-07 17:32:13 -04:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
1998-08-12 05:16:21 -04:00
|
|
|
#pragma interface "dcmemory.h"
|
1998-08-07 17:32:13 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dcclient.h"
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxMemoryDC: public wxPaintDC
|
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxMemoryDC)
|
|
|
|
|
|
|
|
public:
|
|
|
|
wxMemoryDC(void);
|
|
|
|
wxMemoryDC( wxDC *dc ); // Create compatible DC
|
|
|
|
~wxMemoryDC(void);
|
|
|
|
virtual void SelectObject( const wxBitmap& bitmap );
|
|
|
|
void GetSize( int *width, int *height ) const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
friend wxPaintDC;
|
|
|
|
wxBitmap m_selected;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
1998-08-12 05:16:21 -04:00
|
|
|
// _WX_DCMEMORY_H_
|