2002-02-05 16:34:33 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcscreen.h
|
|
|
|
// Purpose: wxScreenDC class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 17/09/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Julian Smart
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_DCSCREEN_H_
|
|
|
|
#define _WX_DCSCREEN_H_
|
|
|
|
|
2003-08-09 12:38:21 +00:00
|
|
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
2002-02-05 16:34:33 +00:00
|
|
|
#pragma interface "dcscreen.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dcclient.h"
|
|
|
|
|
2002-02-11 20:41:24 +00:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxScreenDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class wxScreenDC : public wxPaintDC
|
2002-02-05 16:34:33 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxScreenDC();
|
2002-02-11 20:41:24 +00:00
|
|
|
virtual ~wxScreenDC();
|
|
|
|
|
|
|
|
static bool StartDrawingOnTop( wxWindow *window );
|
|
|
|
static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL );
|
2002-02-05 16:34:33 +00:00
|
|
|
static bool EndDrawingOnTop();
|
2002-02-11 20:41:24 +00:00
|
|
|
|
|
|
|
// implementation
|
|
|
|
|
|
|
|
static WXWindow *sm_overlayWindow;
|
|
|
|
static int sm_overlayWindowX;
|
|
|
|
static int sm_overlayWindowY;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void DoGetSize(int *width, int *height) const;
|
|
|
|
|
2002-02-05 16:34:33 +00:00
|
|
|
private:
|
2002-02-11 20:41:24 +00:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxScreenDC)
|
2002-02-05 16:34:33 +00:00
|
|
|
};
|
|
|
|
|
2002-02-11 20:41:24 +00:00
|
|
|
|
2002-02-05 16:34:33 +00:00
|
|
|
#endif
|
|
|
|
// _WX_DCSCREEN_H_
|
|
|
|
|