public:
wxDisplay ( size_t index = 0 );
+ ~wxDisplay();
+
virtual wxRect GetGeometry() const;
virtual int GetDepth() const;
virtual wxString GetName() const;
+ virtual wxArrayVideoModes
+ GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
- ~wxDisplay();
+ virtual wxVideoMode GetCurrentMode() const;
+
+ virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
private:
wxDisplayMacPriv* m_priv;
- DECLARE_NO_COPY_CLASS(wxDisplay);
+ DECLARE_NO_COPY_CLASS(wxDisplay)
};
#endif // _WX_MAC_DISPLAY_H_
wxString wxDisplay::GetName() const
{
// Macs don't name their displays...
- return wxT("");
+ 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()
wxString wxDisplay::GetName() const
{
// Macs don't name their displays...
- return wxT("");
+ 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()