]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/displayx11.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxDisplay class for Unix/X11
4 // Author: Brian Victor
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DISPLAYX11_H_
13 #define _WX_DISPLAYX11_H_
19 class wxDisplayUnixPriv
;
21 class WXDLLEXPORT wxDisplay
: public wxDisplayBase
25 wxDisplay ( size_t index
= 0 );
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;
33 virtual wxVideoMode
GetCurrentMode() const;
35 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
);
40 wxDisplayUnixPriv
*m_priv
;
42 DECLARE_NO_COPY_CLASS(wxDisplay
)
45 #endif // wxUSE_DISPLAY
47 #endif // _WX_GTK_DISPLAY_H_