2002-02-05 11:34:33 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-10-17 10:44:52 -04:00
|
|
|
// Name: wx/x11/dcscreen.h
|
2002-02-05 11:34:33 -05:00
|
|
|
// Purpose: wxScreenDC class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 17/09/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Julian Smart
|
2006-10-17 10:44:52 -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
|
2006-10-17 10:44:52 -04:00
|
|
|
// _WX_DCSCREEN_H_
|