]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/dcscreen.h
Better name for wxXmlResource::GetDirection() argument.
[wxWidgets.git] / include / wx / motif / dcscreen.h
CommitLineData
9b6dbb09 1/////////////////////////////////////////////////////////////////////////////
925f7740 2// Name: wx/motif/dcscreen.h
fce127d7 3// Purpose: wxScreenDCImpl class
9b6dbb09
JS
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
9b6dbb09 7// Copyright: (c) Julian Smart
925f7740 8// Licence: wxWindows licence
9b6dbb09
JS
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_DCSCREEN_H_
12#define _WX_DCSCREEN_H_
13
fce127d7 14#include "wx/motif/dcclient.h"
9b6dbb09 15
53a2db12 16class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxWindowDCImpl
9b6dbb09 17{
83df96d6
JS
18public:
19 // Create a DC representing the whole screen
fce127d7
VZ
20 wxScreenDCImpl(wxScreenDC *owner);
21 virtual ~wxScreenDCImpl();
925f7740 22
83df96d6
JS
23 // Compatibility with X's requirements for
24 // drawing on top of all windows
25 static bool StartDrawingOnTop(wxWindow* window);
26 static bool StartDrawingOnTop(wxRect* rect = NULL);
27 static bool EndDrawingOnTop();
925f7740 28
89c7e962 29private:
83df96d6 30 static WXWindow sm_overlayWindow;
925f7740 31
83df96d6
JS
32 // If we have started transparent drawing at a non-(0,0) point
33 // then we will have to adjust the device origin in the
34 // constructor.
35 static int sm_overlayWindowX;
36 static int sm_overlayWindowY;
fce127d7
VZ
37
38 DECLARE_DYNAMIC_CLASS(wxScreenDCImpl)
9b6dbb09
JS
39};
40
fce127d7 41#endif // _WX_DCSCREEN_H_