From: Ryan Norton Date: Sat, 13 Dec 2003 03:53:08 +0000 (+0000) Subject: Added some placeholders... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e07d33e7244bbc6192b00cd7839ea96a50014228 Added some placeholders... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/unix/displayx11.h b/include/wx/unix/displayx11.h index 969049129f..4bb0cdc8f4 100644 --- a/include/wx/unix/displayx11.h +++ b/include/wx/unix/displayx11.h @@ -31,6 +31,12 @@ 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(); diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index 20cd747e13..ae0a57d139 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -101,7 +101,7 @@ int wxDisplayBase::GetFromPoint(const wxPoint &p) return 0; } - return -1 + return -1; } } @@ -147,5 +147,23 @@ wxString wxDisplay::GetName() const return wxEmptyString; } + wxArrayVideoModes + wxDisplay::GetModes(const wxVideoMode& mode) const +{ + // Not implemented + return wxArrayVideoModes(); +} + +wxVideoMode wxDisplay::GetCurrentMode() const +{ + // Not implemented + return wxVideoMode(); +} + +bool wxDisplay::ChangeMode(const wxVideoMode& mode) +{ + // Not implemented + return false; +} #endif /* wxUSE_DISPLAY */