]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/display.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxDisplay class customization for WXMSW
4 // Author: Royce Mitchell III
8 // Copyright: (c) wxWindows team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #if defined(__GNUG__) && !defined(__APPLE__)
13 #pragma interface "display.h"
16 #ifndef _WX_MSW_DISPLAY_H_
17 #define _WX_MSW_DISPLAY_H_
19 class WXDLLEXPORT wxDisplay
: public wxDisplayBase
22 wxDisplay(size_t index
= 0);
24 // implement base class pure virtuals
25 virtual wxRect
GetGeometry() const;
26 virtual wxString
GetName() const;
28 virtual wxArrayVideoModes
29 GetModes(const wxVideoMode
& mode
= wxVideoMode()) const;
30 virtual wxVideoMode
GetCurrentMode() const;
31 virtual bool ChangeMode(const wxVideoMode
& mode
= wxVideoMode());
34 // get the display name to use with EnumDisplaySettings()
35 wxString
GetNameForEnumSettings() const;
37 DECLARE_NO_COPY_CLASS(wxDisplay
);
40 #endif // _WX_MSW_DISPLAY_H_