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
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 23:52:45 +00:00
|
|
|
// Copyright: (c) Julian Smart
|
2001-04-09 01:22:48 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-07 23:52:45 +00:00
|
|
|
#ifndef _WX_DCSCREEN_H_
|
|
|
|
#define _WX_DCSCREEN_H_
|
1998-05-20 14:12:05 +00:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "dcscreen.h"
|
|
|
|
#endif
|
|
|
|
|
1998-11-30 12:52:58 +00:00
|
|
|
#include "wx/dcclient.h"
|
1998-05-20 14:12:05 +00:00
|
|
|
|
2001-04-09 01:22:48 +00:00
|
|
|
class WXDLLEXPORT wxScreenDC : public wxWindowDC
|
1998-05-20 14:12:05 +00:00
|
|
|
{
|
2001-04-09 01:22:48 +00: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; }
|
|
|
|
static bool EndDrawingOnTop(void) { return TRUE; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxScreenDC)
|
1998-05-20 14:12:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
1998-08-07 23:52:45 +00:00
|
|
|
// _WX_DCSCREEN_H_
|
1998-05-20 14:12:05 +00:00
|
|
|
|