]>
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$ | |
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(__APPLE__) | |
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 | ||
35 | ~wxDisplay(); | |
36 | ||
37 | private: | |
38 | wxDisplayUnixPriv *m_priv; | |
39 | ||
40 | DECLARE_NO_COPY_CLASS(wxDisplay); | |
41 | }; | |
42 | ||
43 | #endif // wxUSE_DISPLAY | |
44 | ||
45 | #endif // _WX_GTK_DISPLAY_H_ | |
46 |