1999-07-29 01:11:30 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcscreen.h
|
|
|
|
// Purpose: wxScreenDC class
|
1999-10-14 18:36:24 -04:00
|
|
|
// Author: David Webster
|
1999-07-29 01:11:30 -04:00
|
|
|
// Modified by:
|
1999-10-14 18:36:24 -04:00
|
|
|
// Created: 10/14/99
|
1999-07-29 01:11:30 -04:00
|
|
|
// RCS-ID: $Id$
|
1999-10-14 18:36:24 -04:00
|
|
|
// Copyright: (c) David Webster
|
|
|
|
// Licence: wxWindows licence
|
1999-07-29 01:11:30 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_DCSCREEN_H_
|
|
|
|
#define _WX_DCSCREEN_H_
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "dcscreen.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dcclient.h"
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxScreenDC: public wxWindowDC
|
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxScreenDC)
|
|
|
|
|
|
|
|
public:
|
|
|
|
// Create a DC representing the whole screen
|
|
|
|
wxScreenDC();
|
|
|
|
~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() { return TRUE; }
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_DCSCREEN_H_
|
|
|
|
|