1998-05-20 14:01:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcscreen.h
|
|
|
|
// Purpose:
|
|
|
|
// Author: Robert Roebling
|
1998-10-26 10:56:58 +00:00
|
|
|
// Id: $Id$
|
|
|
|
// Copyright: (c) 1998 Robert Roebling
|
1998-05-20 14:01:55 +00:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __GTKDCSCREENH__
|
|
|
|
#define __GTKDCSCREENH__
|
|
|
|
|
|
|
|
#include "wx/dcclient.h"
|
|
|
|
|
1998-10-26 10:56:58 +00:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// classes
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class wxScreenDC;
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxScreenDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class wxScreenDC: public wxPaintDC
|
1998-05-20 14:01:55 +00:00
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxScreenDC)
|
|
|
|
|
|
|
|
public:
|
|
|
|
wxScreenDC(void);
|
|
|
|
~wxScreenDC(void);
|
|
|
|
|
|
|
|
static bool StartDrawingOnTop( wxWindow *window );
|
1998-08-23 03:22:56 +00:00
|
|
|
static bool StartDrawingOnTop( wxRectangle *rect = (wxRectangle *) NULL );
|
1998-05-20 14:01:55 +00:00
|
|
|
static bool EndDrawingOnTop(void);
|
1998-10-26 10:56:58 +00:00
|
|
|
|
|
|
|
// implementation
|
|
|
|
|
|
|
|
static GdkWindow *sm_overlayWindow;
|
|
|
|
static int sm_overlayWindowX;
|
|
|
|
static int sm_overlayWindowY;
|
1998-05-20 14:01:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
1998-10-26 10:56:58 +00:00
|
|
|
|
1998-05-20 14:01:55 +00:00
|
|
|
// __GTKDCSCREENH__
|
|
|
|
|