1998-08-07 17:32:13 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcscreen.h
|
1998-08-12 05:16:21 -04:00
|
|
|
// Purpose: wxScreenDC class
|
|
|
|
// Author: AUTHOR
|
|
|
|
// Modified by:
|
|
|
|
// Created: ??/??/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) AUTHOR
|
1998-08-07 17:32:13 -04:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-12 05:16:21 -04:00
|
|
|
#ifndef _WX_DCSCREEN_H_
|
|
|
|
#define _WX_DCSCREEN_H_
|
1998-08-07 17:32:13 -04:00
|
|
|
|
1998-08-12 05:16:21 -04:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "dcscreen.h"
|
|
|
|
#endif
|
1998-08-07 17:32:13 -04:00
|
|
|
|
|
|
|
#include "wx/dcclient.h"
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxScreenDC: public wxPaintDC
|
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxScreenDC)
|
|
|
|
|
|
|
|
public:
|
1998-08-12 05:16:21 -04:00
|
|
|
// 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; }
|
1998-12-03 05:13:41 -05:00
|
|
|
static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return TRUE; }
|
1998-08-12 05:16:21 -04:00
|
|
|
static bool EndDrawingOnTop() { return TRUE; }
|
1998-08-07 17:32:13 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
1998-08-12 05:16:21 -04:00
|
|
|
// _WX_DCSCREEN_H_
|
1998-08-07 17:32:13 -04:00
|
|
|
|