]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mgl/display.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/mgl/display.h
3 // Purpose: wxDisplay class customization for WXMGL
4 // Author: Wlodzimierz ABX Skiba
8 // Copyright: (c) Wlodzimierz Skiba
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MGL_DISPLAY_H_
13 #define _WX_MGL_DISPLAY_H_
15 class WXDLLEXPORT wxDisplay
: public wxDisplayBase
19 // create the display object for the given physical display
20 wxDisplay(size_t index
= 0);
24 // implement base class pure virtuals
25 virtual bool IsOk() const;
26 virtual wxRect
GetGeometry() const;
27 virtual wxString
GetName() const;
29 virtual wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
) const;
30 virtual wxVideoMode
GetCurrentMode() const;
31 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
);
33 virtual bool IsPrimary() const;
37 DECLARE_NO_COPY_CLASS(wxDisplay
)
40 #endif // _WX_MGL_DISPLAY_H_