git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24606
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
public:
wxDisplay ( size_t index = 0 );
public:
wxDisplay ( size_t index = 0 );
virtual wxRect GetGeometry() const;
virtual int GetDepth() const;
virtual wxString GetName() const;
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);
private:
wxDisplayMacPriv* m_priv;
private:
wxDisplayMacPriv* m_priv;
- DECLARE_NO_COPY_CLASS(wxDisplay);
+ DECLARE_NO_COPY_CLASS(wxDisplay)
};
#endif // _WX_MAC_DISPLAY_H_
};
#endif // _WX_MAC_DISPLAY_H_
wxString wxDisplay::GetName() const
{
// Macs don't name their displays...
wxString wxDisplay::GetName() const
{
// Macs don't name their displays...
+ 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;
}
wxDisplay::~wxDisplay()
}
wxDisplay::~wxDisplay()
wxString wxDisplay::GetName() const
{
// Macs don't name their displays...
wxString wxDisplay::GetName() const
{
// Macs don't name their displays...
+ 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;
}
wxDisplay::~wxDisplay()
}
wxDisplay::~wxDisplay()