]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/dcscreen.h
api uniformity between tabart and dockart
[wxWidgets.git] / include / wx / os2 / dcscreen.h
CommitLineData
0e320a79
DW
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcscreen.h
3// Purpose: wxScreenDC class
fb46a9a6 4// Author: David Webster
0e320a79 5// Modified by:
fb46a9a6 6// Created: 10/14/99
0e320a79 7// RCS-ID: $Id$
fb46a9a6 8// Copyright: (c) David Webster
65571936 9// Licence: wxWindows licence
0e320a79
DW
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCSCREEN_H_
13#define _WX_DCSCREEN_H_
14
0e320a79
DW
15#include "wx/dcclient.h"
16
17class WXDLLEXPORT wxScreenDC: public wxWindowDC
18{
0e320a79 19 public:
98f2b814
DW
20 //
21 // Create a DC representing the whole screen
22 //
23 wxScreenDC();
24
25 //
26 // Compatibility with X's requirements for
27 // drawing on top of all windows
28 //
29 static bool StartDrawingOnTop(wxWindow* WXUNUSED(pWindow)) { return TRUE; }
30 static bool StartDrawingOnTop(wxRect* WXUNUSED(prect) = NULL) { return TRUE; }
31 static bool EndDrawingOnTop() { return TRUE; }
32
33protected:
34 virtual void DoGetSize( int* pnWidth
35 ,int* pnHeight
36 ) const;
37
ac7fb818
DW
38private:
39 DECLARE_DYNAMIC_CLASS(wxScreenDC)
40}; // end of CLASS wxScreenDC
0e320a79
DW
41
42#endif
43 // _WX_DCSCREEN_H_
44