]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mgl/display.h
Applied patch [ 1445031 ] wxString passed as ellipsis argument in richtexthtml.cpp
[wxWidgets.git] / include / wx / mgl / display.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/mgl/display.h
3 // Purpose: wxDisplay class customization for WXMGL
4 // Author: Wlodzimierz ABX Skiba
5 // Modified by:
6 // Created: 05/03/2006
7 // RCS-ID: $Id$
8 // Copyright: (c) Wlodzimierz Skiba
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_MGL_DISPLAY_H_
13 #define _WX_MGL_DISPLAY_H_
14
15 class WXDLLEXPORT wxDisplay : public wxDisplayBase
16 {
17 public:
18
19 // create the display object for the given physical display
20 wxDisplay(size_t index = 0);
21
22 virtual ~wxDisplay();
23
24 // implement base class pure virtuals
25 virtual bool IsOk() const;
26 virtual wxRect GetGeometry() const;
27 virtual wxString GetName() const;
28
29 virtual wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
30 virtual wxVideoMode GetCurrentMode() const;
31 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
32
33 virtual bool IsPrimary() const;
34
35 private:
36
37 DECLARE_NO_COPY_CLASS(wxDisplay)
38 };
39
40 #endif // _WX_MGL_DISPLAY_H_