]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk/dcscreen.h
add HDF_SORTUP/DOWN definitions
[wxWidgets.git] / include / wx / gtk / dcscreen.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcscreen.h
3// Purpose:
4// Author: Robert Roebling
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef __GTKDCSCREENH__
11#define __GTKDCSCREENH__
12
13#include "wx/dcclient.h"
14
15//-----------------------------------------------------------------------------
16// wxScreenDC
17//-----------------------------------------------------------------------------
18
19#if wxUSE_NEW_DC
20class WXDLLIMPEXP_CORE wxGTKScreenImplDC : public wxGTKWindowImplDC
21#else
22#define wxGTKScreenImplDC wxScreenDC
23class WXDLLIMPEXP_CORE wxScreenDC : public wxWindowDC
24#endif
25{
26public:
27
28#if wxUSE_NEW_DC
29 wxGTKScreenImplDC( wxScreenDC *owner );
30#else
31 wxScreenDC();
32#endif
33
34 ~wxGTKScreenImplDC();
35
36 static bool StartDrawingOnTop( wxWindow *window ) { return true; }
37 static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL ) { return true; }
38 static bool EndDrawingOnTop() { return true; }
39
40
41protected:
42 virtual void DoGetSize(int *width, int *height) const;
43
44 void Init();
45
46private:
47 DECLARE_ABSTRACT_CLASS(wxGTKScreenImplDC)
48};
49
50#endif
51
52 // __GTKDCSCREENH__
53