]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/dcscreen.h
add HDF_SORTUP/DOWN definitions
[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
65571936 7// Licence: wxWindows licence
c801d85f
KB
8/////////////////////////////////////////////////////////////////////////////
9
c801d85f
KB
10#ifndef __GTKDCSCREENH__
11#define __GTKDCSCREENH__
12
13#include "wx/dcclient.h"
14
dbf858b5
RR
15//-----------------------------------------------------------------------------
16// wxScreenDC
17//-----------------------------------------------------------------------------
18
ab171e95
RR
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
c801d85f 25{
ec758a20 26public:
ab171e95
RR
27
28#if wxUSE_NEW_DC
29 wxGTKScreenImplDC( wxScreenDC *owner );
30#else
20e05ffb 31 wxScreenDC();
ab171e95 32#endif
20e05ffb 33
ab171e95 34 ~wxGTKScreenImplDC();
20e05ffb 35
ab171e95
RR
36 static bool StartDrawingOnTop( wxWindow *window ) { return true; }
37 static bool StartDrawingOnTop( wxRect *rect = (wxRect *) NULL ) { return true; }
38 static bool EndDrawingOnTop() { return true; }
376aa62a 39
376aa62a
VZ
40
41protected:
42 virtual void DoGetSize(int *width, int *height) const;
ab171e95
RR
43
44 void Init();
376aa62a 45
20e05ffb 46private:
ab171e95 47 DECLARE_ABSTRACT_CLASS(wxGTKScreenImplDC)
c801d85f
KB
48};
49
50#endif
dbf858b5 51
c801d85f
KB
52 // __GTKDCSCREENH__
53