]>
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_
17 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
18 #pragma interface "display.h"
23 class wxDisplayUnixPriv
;
25 class WXDLLEXPORT wxDisplay
: public wxDisplayBase
29 wxDisplay (size_t index
= 0);
32 virtual wxRect
GetGeometry() const;
33 virtual int GetDepth() const;
34 virtual wxString
GetName() const;
35 virtual wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
) const;
36 virtual wxVideoMode
GetCurrentMode() const;
38 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
);
42 DECLARE_NO_COPY_CLASS(wxDisplay
)
45 #endif // wxUSE_DISPLAY
47 #endif // _WX_DISPLAY_H_