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