]>
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_
17 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
18 #pragma interface "display.h"
23 class wxDisplayUnixPriv
;
25 class WXDLLEXPORT wxDisplay
: public wxDisplayBase
29 wxDisplay ( size_t index
= 0 );
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;
37 virtual wxVideoMode
GetCurrentMode() const;
39 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
);
44 wxDisplayUnixPriv
*m_priv
;
46 DECLARE_NO_COPY_CLASS(wxDisplay
);
49 #endif // wxUSE_DISPLAY
51 #endif // _WX_GTK_DISPLAY_H_