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
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-07 19:52:45 -04:00
|
|
|
#ifndef _WX_DCSCREEN_H_
|
|
|
|
#define _WX_DCSCREEN_H_
|
1998-05-20 10:12:05 -04:00
|
|
|
|
1998-11-30 07:52:58 -05:00
|
|
|
#include "wx/dcclient.h"
|
1998-05-20 10:12:05 -04:00
|
|
|
|
2001-04-08 21:22:48 -04:00
|
|
|
class WXDLLEXPORT wxScreenDC : public wxWindowDC
|
1998-05-20 10:12:05 -04:00
|
|
|
{
|
2001-04-08 21:22:48 -04:00
|
|
|
public:
|
|
|
|
// Create a DC representing the whole screen
|
|
|
|
wxScreenDC();
|
|
|
|
|
|
|
|
// Compatibility with X's requirements for drawing on top of all windows
|
2004-08-24 06:31:41 -04:00
|
|
|
static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return true; }
|
|
|
|
static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return true; }
|
|
|
|
static bool EndDrawingOnTop() { return true; }
|
2002-03-04 19:52:01 -05:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void DoGetSize(int *width, int *height) const;
|
2001-04-08 21:22:48 -04:00
|
|
|
|
|
|
|
private:
|
2003-07-21 20:24:07 -04:00
|
|
|
DECLARE_DYNAMIC_CLASS_NO_COPY(wxScreenDC)
|
1998-05-20 10:12:05 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
1998-08-07 19:52:45 -04:00
|
|
|
// _WX_DCSCREEN_H_
|
1998-05-20 10:12:05 -04:00
|
|
|
|