X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1b3ddd840a507f3ca85379bfa832f2b0c9105d6..068becf5625117fda98c6a6f94433c5b5147e367:/include/wx/unix/displayx11.h diff --git a/include/wx/unix/displayx11.h b/include/wx/unix/displayx11.h index 2edc3d1fca..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(__APPLE__) - #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