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