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
|
2001-04-08 21:22:48 -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
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "dcscreen.h"
|
|
|
|
#endif
|
|
|
|
|
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
|
|
|
|
static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return TRUE; }
|
|
|
|
static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return TRUE; }
|
2002-03-04 19:52:01 -05:00
|
|
|
static bool EndDrawingOnTop() { return TRUE; }
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void DoGetSize(int *width, int *height) const;
|
2001-04-08 21:22:48 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(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
|
|
|
|