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
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:01:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __GTKDCSCREENH__
|
|
|
|
#define __GTKDCSCREENH__
|
|
|
|
|
|
|
|
#include "wx/dcclient.h"
|
|
|
|
|
1998-10-26 10:56:58 +00:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxScreenDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2007-09-23 11:27:41 +00:00
|
|
|
#if wxUSE_NEW_DC
|
|
|
|
class WXDLLIMPEXP_CORE wxGTKScreenImplDC : public wxGTKWindowImplDC
|
|
|
|
#else
|
|
|
|
#define wxGTKScreenImplDC wxScreenDC
|
|
|
|
class WXDLLIMPEXP_CORE wxScreenDC : public wxWindowDC
|
|
|
|
#endif
|
1998-05-20 14:01:55 +00:00
|
|
|
{
|
1998-12-01 12:55:09 +00:00
|
|
|
public:
|
2007-09-23 11:27:41 +00:00
|
|
|
|
|
|
|
#if wxUSE_NEW_DC
|
|
|
|
wxGTKScreenImplDC( wxScreenDC *owner );
|
|
|
|
#else
|
1999-11-22 19:44:25 +00:00
|
|
|
wxScreenDC();
|
2007-09-23 11:27:41 +00:00
|
|
|
#endif
|
1999-11-22 19:44:25 +00:00
|
|
|
|
2007-09-23 11:27:41 +00:00
|
|
|
~wxGTKScreenImplDC();
|
1999-11-22 19:44:25 +00:00
|
|
|
|
2007-09-23 11:27:41 +00:00
|
|
|
static bool StartDrawingOnTop( wxWindow *window ) { return true; }
|
|
|
|
static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL ) { return true; }
|
|
|
|
static bool EndDrawingOnTop() { return true; }
|
2000-10-30 16:43:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void DoGetSize(int *width, int *height) const;
|
2007-09-23 11:27:41 +00:00
|
|
|
|
|
|
|
void Init();
|
2000-10-30 16:43:37 +00:00
|
|
|
|
1999-11-22 19:44:25 +00:00
|
|
|
private:
|
2007-09-23 11:27:41 +00:00
|
|
|
DECLARE_ABSTRACT_CLASS(wxGTKScreenImplDC)
|
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__
|
|
|
|
|