]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/display.h
Removing deprecated classes
[wxWidgets.git] / include / wx / msw / display.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: display.h
3 // Purpose: wxDisplay class customization for WXMSW
4 // Author: Royce Mitchell III
5 // Modified by:
6 // Created: 06/21/02
7 // RCS-ID: $Id$
8 // Copyright: (c) wxWindows team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #if defined(__GNUG__) && !defined(__APPLE__)
13 #pragma interface "display.h"
14 #endif
15
16 #ifndef _WX_MSW_DISPLAY_H_
17 #define _WX_MSW_DISPLAY_H_
18
19 class WXDLLEXPORT wxDisplay : public wxDisplayBase
20 {
21 public:
22 wxDisplay(size_t index = 0);
23
24 // implement base class pure virtuals
25 virtual wxRect GetGeometry() const;
26 virtual wxString GetName() const;
27
28 virtual wxArrayVideoModes
29 GetModes(const wxVideoMode& mode = wxVideoMode()) const;
30 virtual wxVideoMode GetCurrentMode() const;
31 virtual bool ChangeMode(const wxVideoMode& mode = wxVideoMode());
32
33 private:
34 // get the display name to use with EnumDisplaySettings()
35 wxString GetNameForEnumSettings() const;
36
37 DECLARE_NO_COPY_CLASS(wxDisplay);
38 };
39
40 #endif // _WX_MSW_DISPLAY_H_