]>
Commit | Line | Data |
---|---|---|
a536e411 JS |
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 | ||
8585e2b5 VZ |
12 | #if defined(__GNUG__) && !defined(__APPLE__) |
13 | #pragma interface "display.h" | |
14 | #endif | |
15 | ||
a536e411 JS |
16 | #ifndef _WX_MSW_DISPLAY_H_ |
17 | #define _WX_MSW_DISPLAY_H_ | |
18 | ||
19 | class WXDLLEXPORT wxDisplay : public wxDisplayBase | |
20 | { | |
21 | public: | |
8585e2b5 | 22 | wxDisplay(size_t index = 0); |
a536e411 | 23 | |
8585e2b5 | 24 | // implement base class pure virtuals |
a536e411 | 25 | virtual wxRect GetGeometry() const; |
a536e411 JS |
26 | virtual wxString GetName() const; |
27 | ||
8585e2b5 VZ |
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 | ||
a536e411 JS |
37 | DECLARE_NO_COPY_CLASS(wxDisplay); |
38 | }; | |
39 | ||
40 | #endif // _WX_MSW_DISPLAY_H_ |