]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/display.h
added assignment operators from int for disambiguation of expressions such as ll=0
[wxWidgets.git] / include / wx / os2 / display.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: displayx11.h
3 // Purpose: wxDisplay class for Unix/X11
4 // Author: Brian Victor
5 // Modified by:
6 // Created: 12/05/02
7 // RCS-ID: $Id$
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_DISPLAY_H_
13 #define _WX_DISPLAY_H_
14
15 #if wxUSE_DISPLAY
16
17 class wxRect;
18 class wxString;
19 class wxDisplayUnixPriv;
20
21 class WXDLLEXPORT wxDisplay : public wxDisplayBase
22 {
23
24 public:
25 wxDisplay (size_t index = 0);
26 ~wxDisplay();
27
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;
33
34 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
35
36
37 private:
38 DECLARE_NO_COPY_CLASS(wxDisplay)
39 };
40
41 #endif // wxUSE_DISPLAY
42
43 #endif // _WX_DISPLAY_H_
44