]>
Commit | Line | Data |
---|---|---|
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 | ||
17 | #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) | |
18 | #pragma interface "display.h" | |
19 | #endif | |
20 | ||
21 | class wxRect; | |
22 | class wxString; | |
23 | class wxDisplayUnixPriv; | |
24 | ||
25 | class 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; | |
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); | |
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 |