]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/display.h
Base for wxMessageDialog with common checks for style.
[wxWidgets.git] / include / wx / cocoa / display.h
CommitLineData
51259762
RN
1/////////////////////////////////////////////////////////////////////////////
2// Name: include/wx/cocoa/display.h
3// Purpose: wxDisplay class for wxCocoa
4// Author: Ryan Norton
5// Modified by:
6// Created: 2004-10-03
7// RCS-ID: $Id$
8// Copyright: (c) Ryan Norton
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
dcb68102 11
51259762
RN
12#ifndef _WX_COCOA_DISPLAY_H_
13#define _WX_COCOA_DISPLAY_H_
14
15#include "wx/object.h"
16#include "wx/display.h"
17
18class wxRect;
19class wxString;
20
21class WXDLLEXPORT wxDisplay : public wxDisplayBase
22{
23public:
24 wxDisplay ( size_t index = 0 );
25
26 ~wxDisplay();
27
28 virtual wxRect GetGeometry() const;
29 virtual int GetDepth() const;
30 virtual wxString GetName() const;
31
32 virtual wxArrayVideoModes
33 GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
34
35 virtual wxVideoMode GetCurrentMode() const;
36
37 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
38
39private:
40 struct _CGDirectDisplayID * m_id;
41
42 DECLARE_NO_COPY_CLASS(wxDisplay)
43};
44
45#endif // _WX_COCOA_DISPLAY_H_