]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/carbon/display.h
Added C/wxString array constructors to wxArrayString
[wxWidgets.git] / include / wx / mac / carbon / display.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: display.h
3 // Purpose: wxDisplay class customization for Mac
4 // Author: Brian Victor/Royce Mitchel for non OSX / Ryan Norton for OS X
5 // Modified by:
6 // Created: 06/21/02
7 // RCS-ID: $Id$
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_MAC_DISPLAY_H_
13 #define _WX_MAC_DISPLAY_H_
14
15 #include "wx/object.h"
16 #include "wx/display.h"
17
18 class wxDisplayMacPriv;
19 class wxRect;
20 class wxString;
21
22 class WXDLLEXPORT wxDisplay : public wxDisplayBase
23 {
24 public:
25 wxDisplay ( size_t index = 0 );
26
27 ~wxDisplay();
28
29 virtual wxRect GetGeometry() const;
30 virtual int GetDepth() const;
31 virtual wxString GetName() const;
32
33 virtual wxArrayVideoModes
34 GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
35
36 virtual wxVideoMode GetCurrentMode() const;
37
38 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
39
40 private:
41 wxDisplayMacPriv* m_priv;
42
43 DECLARE_NO_COPY_CLASS(wxDisplay)
44 };
45
46 #endif // _WX_MAC_DISPLAY_H_