]>
Commit | Line | Data |
---|---|---|
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$ | |
77ffb593 | 8 | // Copyright: (c) wxWidgets team |
65571936 | 9 | // Licence: wxWindows licence |
b1b3ddd8 JS |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifndef _WX_DISPLAYX11_H_ | |
13 | #define _WX_DISPLAYX11_H_ | |
14 | ||
15 | #if wxUSE_DISPLAY | |
16 | ||
b1b3ddd8 JS |
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; | |
e07d33e7 RN |
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); | |
b1b3ddd8 JS |
36 | |
37 | ~wxDisplay(); | |
38 | ||
39 | private: | |
40 | wxDisplayUnixPriv *m_priv; | |
41 | ||
ce07cd8a | 42 | DECLARE_NO_COPY_CLASS(wxDisplay) |
b1b3ddd8 JS |
43 | }; |
44 | ||
45 | #endif // wxUSE_DISPLAY | |
46 | ||
47 | #endif // _WX_GTK_DISPLAY_H_ | |
48 |