]> git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/displayx11.h
removed wxABI_VERSION checks
[wxWidgets.git] / include / wx / unix / displayx11.h
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) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_DISPLAYX11_H_
13 #define _WX_DISPLAYX11_H_
14
15 #if wxUSE_DISPLAY
16
17 class wxRect;
18 class wxString;
19 class wxDisplayUnixPriv;
20
21 class WXDLLEXPORT wxDisplay : public wxDisplayBase
22 {
23
24 public:
25 wxDisplay ( size_t index = 0 );
26
27 virtual wxRect GetGeometry() const;
28 virtual int GetDepth() const;
29 virtual wxString GetName() const;
30 virtual wxArrayVideoModes
31 GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
32
33 virtual wxVideoMode GetCurrentMode() const;
34
35 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
36
37 ~wxDisplay();
38
39 private:
40 wxDisplayUnixPriv *m_priv;
41
42 DECLARE_NO_COPY_CLASS(wxDisplay)
43 };
44
45 #endif // wxUSE_DISPLAY
46
47 #endif // _WX_GTK_DISPLAY_H_
48