]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/carbon/display.h
060c9c7ef4cac3bf61fa50bc83d56f026f101cf9
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxDisplay class customization for Mac
4 // Author: Brian Victor
5 // Modified by: Royce Mitchell III
8 // Copyright: (c) wxWindows team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MAC_DISPLAY_H_
13 #define _WX_MAC_DISPLAY_H_
15 #include "wx/object.h"
16 #include "wx/display.h"
18 class wxDisplayMacPriv
;
22 class WXDLLEXPORT wxDisplay
: public wxDisplayBase
25 wxDisplay ( size_t index
= 0 );
29 virtual wxRect
GetGeometry() const;
30 virtual int GetDepth() const;
31 virtual wxString
GetName() const;
33 virtual wxArrayVideoModes
34 GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
) const;
36 virtual wxVideoMode
GetCurrentMode() const;
38 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
);
41 wxDisplayMacPriv
* m_priv
;
43 DECLARE_NO_COPY_CLASS(wxDisplay
)
46 #endif // _WX_MAC_DISPLAY_H_