2002-02-05 11:34:33 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcscreen.h
|
|
|
|
// Purpose: wxScreenDC class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 17/09/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Julian Smart
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
2002-02-05 11:34:33 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_DCSCREEN_H_
|
|
|
|
#define _WX_DCSCREEN_H_
|
|
|
|
|
|
|
|
#include "wx/dcclient.h"
|
|
|
|
|
2002-02-11 15:41:24 -05:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxScreenDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2005-08-02 14:16:51 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxScreenDC : public wxPaintDC
|
2002-02-05 11:34:33 -05:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxScreenDC();
|
2002-02-11 15:41:24 -05:00
|
|
|
virtual ~wxScreenDC();
|
|
|
|
|
|
|
|
static bool StartDrawingOnTop( wxWindow *window );
|
|
|
|
static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL );
|
2002-02-05 11:34:33 -05:00
|
|
|
static bool EndDrawingOnTop();
|
2002-02-11 15:41:24 -05: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 11:34:33 -05:00
|
|
|
private:
|
2002-02-11 15:41:24 -05:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxScreenDC)
|
2002-02-05 11:34:33 -05:00
|
|
|
};
|
|
|
|
|
2002-02-11 15:41:24 -05:00
|
|
|
|
2002-02-05 11:34:33 -05:00
|
|
|
#endif
|
|
|
|
// _WX_DCSCREEN_H_
|
|
|
|
|