]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/cocoa/display.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: include/wx/cocoa/display.h
3 // Purpose: wxDisplay class for wxCocoa
8 // Copyright: (c) Ryan Norton
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_COCOA_DISPLAY_H_
13 #define _WX_COCOA_DISPLAY_H_
15 #include "wx/object.h"
16 #include "wx/display.h"
21 class WXDLLEXPORT wxDisplay
: public wxDisplayBase
24 wxDisplay ( size_t index
= 0 );
28 virtual wxRect
GetGeometry() const;
29 virtual int GetDepth() const;
30 virtual wxString
GetName() const;
32 virtual wxArrayVideoModes
33 GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
) const;
35 virtual wxVideoMode
GetCurrentMode() const;
37 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
);
40 struct _CGDirectDisplayID
* m_id
;
42 DECLARE_NO_COPY_CLASS(wxDisplay
)
45 #endif // _WX_COCOA_DISPLAY_H_