]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/dcscreen.h
fixes to previous fixes for Sun's CC 5.0
[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
c801d85f
KB
7// Licence: wxWindows licence
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
KB
26{
27 DECLARE_DYNAMIC_CLASS(wxScreenDC)
28
ec758a20 29public:
c801d85f
KB
30 wxScreenDC(void);
31 ~wxScreenDC(void);
32
33 static bool StartDrawingOnTop( wxWindow *window );
16e93305 34 static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL );
c801d85f 35 static bool EndDrawingOnTop(void);
dbf858b5
RR
36
37 // implementation
38
39 static GdkWindow *sm_overlayWindow;
40 static int sm_overlayWindowX;
41 static int sm_overlayWindowY;
c801d85f
KB
42};
43
44#endif
dbf858b5 45
c801d85f
KB
46 // __GTKDCSCREENH__
47