2004-03-23 12:38:49 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: display.h
|
|
|
|
// Purpose: wxDisplay class customization for Mac
|
|
|
|
// Author: Brian Victor
|
|
|
|
// Modified by: Royce Mitchell III
|
|
|
|
// Created: 06/21/02
|
|
|
|
// RCS-ID: $Id$
|
2004-05-23 10:56:36 -04:00
|
|
|
// Copyright: (c) wxWidgets team
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
2004-03-23 12:38:49 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_MAC_DISPLAY_H_
|
|
|
|
#define _WX_MAC_DISPLAY_H_
|
|
|
|
|
|
|
|
#include "wx/object.h"
|
|
|
|
#include "wx/display.h"
|
|
|
|
|
|
|
|
class wxDisplayMacPriv;
|
|
|
|
class wxRect;
|
|
|
|
class wxString;
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxDisplay : public wxDisplayBase
|
|
|
|
{
|
|
|
|
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;
|
|
|
|
|
|
|
|
virtual wxVideoMode GetCurrentMode() const;
|
|
|
|
|
|
|
|
virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
|
|
|
|
|
|
|
|
private:
|
|
|
|
wxDisplayMacPriv* m_priv;
|
|
|
|
|
|
|
|
DECLARE_NO_COPY_CLASS(wxDisplay)
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_MAC_DISPLAY_H_
|