1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2001-04-08 21:22:48 -04:00
|
|
|
// Name: wx/msw/dcscreen.h
|
1998-05-20 10:12:05 -04:00
|
|
|
// Purpose: wxScreenDC class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 19:52:45 -04:00
|
|
|
// Copyright: (c) Julian Smart
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 10:12:05 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2005-12-24 21:34:42 -05:00
|
|
|
#ifndef _WX_MSW_DCSCREEN_H_
|
|
|
|
#define _WX_MSW_DCSCREEN_H_
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2007-11-30 08:48:22 -05:00
|
|
|
#include "wx/dcscreen.h"
|
|
|
|
#include "wx/msw/dc.h"
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxMSWDCImpl
|
1998-05-20 10:12:05 -04:00
|
|
|
{
|
2001-04-08 21:22:48 -04:00
|
|
|
public:
|
|
|
|
// Create a DC representing the whole screen
|
2007-11-30 08:48:22 -05:00
|
|
|
wxScreenDCImpl( wxScreenDC *owner );
|
2002-03-04 19:52:01 -05:00
|
|
|
|
2005-12-24 21:34:42 -05:00
|
|
|
virtual void DoGetSize(int *w, int *h) const
|
|
|
|
{
|
|
|
|
GetDeviceSize(w, h);
|
|
|
|
}
|
2001-04-08 21:22:48 -04:00
|
|
|
|
2007-11-30 08:48:22 -05:00
|
|
|
DECLARE_CLASS(wxScreenDCImpl)
|
2009-02-08 06:45:59 -05:00
|
|
|
wxDECLARE_NO_COPY_CLASS(wxScreenDCImpl);
|
1998-05-20 10:12:05 -04:00
|
|
|
};
|
|
|
|
|
2005-12-24 21:34:42 -05:00
|
|
|
#endif // _WX_MSW_DCSCREEN_H_
|
1998-05-20 10:12:05 -04:00
|
|
|
|