X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..38113684016c5ecbc65985bee3c6c7b318c012cf:/include/wx/unix/displayx11.h?ds=sidebyside diff --git a/include/wx/unix/displayx11.h b/include/wx/unix/displayx11.h index 969049129f..da642361e2 100644 --- a/include/wx/unix/displayx11.h +++ b/include/wx/unix/displayx11.h @@ -5,7 +5,7 @@ // Modified by: // Created: 12/05/02 // RCS-ID: $Id$ -// Copyright: (c) wxWindows team +// Copyright: (c) wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -14,10 +14,6 @@ #if wxUSE_DISPLAY -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "display.h" -#endif - class wxRect; class wxString; class wxDisplayUnixPriv; @@ -31,13 +27,19 @@ class WXDLLEXPORT wxDisplay : public wxDisplayBase virtual wxRect GetGeometry() const; virtual int GetDepth() const; virtual wxString GetName() const; + virtual wxArrayVideoModes + GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const; + + virtual wxVideoMode GetCurrentMode() const; + + virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode); ~wxDisplay(); private: wxDisplayUnixPriv *m_priv; - DECLARE_NO_COPY_CLASS(wxDisplay); + DECLARE_NO_COPY_CLASS(wxDisplay) }; #endif // wxUSE_DISPLAY