]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/dcscreen.h
removed relic: GetMaxLineWidth
[wxWidgets.git] / include / wx / gtk / dcscreen.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcscreen.h
3// Purpose:
4// Author: Robert Roebling
dbf858b5
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
72cdf4c9 7// Licence: wxWindows licence
c801d85f
KB
8/////////////////////////////////////////////////////////////////////////////
9
c801d85f
KB
10#ifndef __GTKDCSCREENH__
11#define __GTKDCSCREENH__
12
13#include "wx/dcclient.h"
14
dbf858b5
RR
15//-----------------------------------------------------------------------------
16// classes
17//-----------------------------------------------------------------------------
18
19class wxScreenDC;
20
21//-----------------------------------------------------------------------------
22// wxScreenDC
23//-----------------------------------------------------------------------------
24
25class wxScreenDC: public wxPaintDC
c801d85f 26{
ec758a20 27public:
20e05ffb
RR
28 wxScreenDC();
29 ~wxScreenDC();
30
31 static bool StartDrawingOnTop( wxWindow *window );
32 static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL );
33 static bool EndDrawingOnTop();
34
35 // implementation
36
37 static GdkWindow *sm_overlayWindow;
38 static int sm_overlayWindowX;
39 static int sm_overlayWindowY;
40
41private:
42 DECLARE_DYNAMIC_CLASS(wxScreenDC)
c801d85f
KB
43};
44
45#endif
dbf858b5 46
c801d85f
KB
47 // __GTKDCSCREENH__
48