]> git.saurik.com Git - wxWidgets.git/blame - include/wx/x11/dcscreen.h
fix unused parameter warning in wxSetEnv() in release build
[wxWidgets.git] / include / wx / x11 / dcscreen.h
CommitLineData
83df96d6 1/////////////////////////////////////////////////////////////////////////////
1b88201f 2// Name: wx/x11/dcscreen.h
83df96d6
JS
3// Purpose: wxScreenDC class
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
1b88201f 9// Licence: wxWindows licence
83df96d6
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCSCREEN_H_
13#define _WX_DCSCREEN_H_
14
83df96d6
JS
15#include "wx/dcclient.h"
16
3cd0b8c5
RR
17//-----------------------------------------------------------------------------
18// wxScreenDC
19//-----------------------------------------------------------------------------
20
968eb2ef 21class WXDLLIMPEXP_CORE wxScreenDC : public wxPaintDC
83df96d6 22{
83df96d6 23public:
83df96d6 24 wxScreenDC();
3cd0b8c5
RR
25 virtual ~wxScreenDC();
26
27 static bool StartDrawingOnTop( wxWindow *window );
28 static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL );
83df96d6 29 static bool EndDrawingOnTop();
3cd0b8c5
RR
30
31 // implementation
32
33 static WXWindow *sm_overlayWindow;
34 static int sm_overlayWindowX;
35 static int sm_overlayWindowY;
36
37protected:
38 virtual void DoGetSize(int *width, int *height) const;
39
83df96d6 40private:
3cd0b8c5 41 DECLARE_DYNAMIC_CLASS(wxScreenDC)
83df96d6
JS
42};
43
3cd0b8c5 44
83df96d6 45#endif
1b88201f 46 // _WX_DCSCREEN_H_