]> git.saurik.com Git - wxWidgets.git/blame - include/wx/unix/displayx11.h
BCC fixes
[wxWidgets.git] / include / wx / unix / displayx11.h
CommitLineData
b1b3ddd8
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: displayx11.h
3// Purpose: wxDisplay class for Unix/X11
4// Author: Brian Victor
5// Modified by:
6// Created: 12/05/02
7// RCS-ID: $Id$
8// Copyright: (c) wxWindows team
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DISPLAYX11_H_
13#define _WX_DISPLAYX11_H_
14
15#if wxUSE_DISPLAY
16
12028905 17#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
b1b3ddd8
JS
18 #pragma interface "display.h"
19#endif
20
21class wxRect;
22class wxString;
23class wxDisplayUnixPriv;
24
25class WXDLLEXPORT wxDisplay : public wxDisplayBase
26{
27
28 public:
29 wxDisplay ( size_t index = 0 );
30
31 virtual wxRect GetGeometry() const;
32 virtual int GetDepth() const;
33 virtual wxString GetName() const;
e07d33e7
RN
34 virtual wxArrayVideoModes
35 GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
36
37 virtual wxVideoMode GetCurrentMode() const;
38
39 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
b1b3ddd8
JS
40
41 ~wxDisplay();
42
43 private:
44 wxDisplayUnixPriv *m_priv;
45
46 DECLARE_NO_COPY_CLASS(wxDisplay);
47};
48
49#endif // wxUSE_DISPLAY
50
51#endif // _WX_GTK_DISPLAY_H_
52