]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/display.h
Always use XPMs in this sample
[wxWidgets.git] / include / wx / mac / display.h
CommitLineData
a536e411
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: display.h
3// Purpose: wxDisplay class customization for Mac
4// Author: Brian Victor
5// Modified by: Royce Mitchell III
6// Created: 06/21/02
7// RCS-ID: $Id$
8// Copyright: (c) wxWindows 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
18class wxDisplayMacPriv;
19class wxRect;
20class wxString;
21
22class WXDLLEXPORT wxDisplay : public wxDisplayBase
23{
24public:
25 wxDisplay ( size_t index = 0 );
26
1e1cc1ce
DS
27 ~wxDisplay();
28
a536e411
JS
29 virtual wxRect GetGeometry() const;
30 virtual int GetDepth() const;
31 virtual wxString GetName() const;
32
1e1cc1ce
DS
33 virtual wxArrayVideoModes
34 GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
a536e411 35
1e1cc1ce
DS
36 virtual wxVideoMode GetCurrentMode() const;
37
38 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
a536e411
JS
39
40private:
41 wxDisplayMacPriv* m_priv;
42
1e1cc1ce 43 DECLARE_NO_COPY_CLASS(wxDisplay)
a536e411
JS
44};
45
46#endif // _WX_MAC_DISPLAY_H_