1998-05-20 14:01:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-01-23 02:28:01 +00:00
|
|
|
// Name: wx/gtk1/dcscreen.h
|
1998-05-20 14:01:55 +00:00
|
|
|
// Purpose:
|
|
|
|
// Author: Robert Roebling
|
1998-10-26 10:56:58 +00:00
|
|
|
// Id: $Id$
|
|
|
|
// Copyright: (c) 1998 Robert Roebling
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:01:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __GTKDCSCREENH__
|
|
|
|
#define __GTKDCSCREENH__
|
|
|
|
|
2007-12-15 18:20:59 +00:00
|
|
|
#include "wx/gtk1/dcclient.h"
|
1998-05-20 14:01:55 +00:00
|
|
|
|
1998-10-26 10:56:58 +00:00
|
|
|
//-----------------------------------------------------------------------------
|
2007-12-15 18:20:59 +00:00
|
|
|
// wxScreenDCImpl
|
1998-10-26 10:56:58 +00:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2007-12-15 18:20:59 +00:00
|
|
|
class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxPaintDCImpl
|
1998-05-20 14:01:55 +00:00
|
|
|
{
|
1998-12-01 12:55:09 +00:00
|
|
|
public:
|
2007-12-15 18:20:59 +00:00
|
|
|
wxScreenDCImpl(wxScreenDC *owner);
|
|
|
|
virtual ~wxScreenDCImpl();
|
1999-11-22 19:44:25 +00:00
|
|
|
|
|
|
|
// implementation
|
2000-10-30 16:43:37 +00:00
|
|
|
|
1999-11-22 19:44:25 +00:00
|
|
|
static GdkWindow *sm_overlayWindow;
|
|
|
|
static int sm_overlayWindowX;
|
|
|
|
static int sm_overlayWindowY;
|
2000-10-30 16:43:37 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void DoGetSize(int *width, int *height) const;
|
|
|
|
|
1999-11-22 19:44:25 +00:00
|
|
|
private:
|
2007-12-15 18:20:59 +00:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxScreenDCImpl)
|
1998-05-20 14:01:55 +00:00
|
|
|
};
|
|
|
|
|
2007-12-15 18:20:59 +00:00
|
|
|
#endif // __GTKDCSCREENH__
|
1998-05-20 14:01:55 +00:00
|
|
|
|