]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/display.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxDisplay class for Unix/X11
4 // Author: Brian Victor
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DISPLAY_H_
13 #define _WX_DISPLAY_H_
19 class wxDisplayUnixPriv
;
21 class WXDLLEXPORT wxDisplay
: public wxDisplayBase
25 wxDisplay (size_t index
= 0);
28 virtual wxRect
GetGeometry() const;
29 virtual int GetDepth() const;
30 virtual wxString
GetName() const;
31 virtual wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
) const;
32 virtual wxVideoMode
GetCurrentMode() const;
34 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
);
38 DECLARE_NO_COPY_CLASS(wxDisplay
)
41 #endif // wxUSE_DISPLAY
43 #endif // _WX_DISPLAY_H_