]>
git.saurik.com Git - wxWidgets.git/blob - src/os2/display.cpp
1 ///////////////////////////////////////////////////////////////////////////
2 // Name: displayx11.cpp
3 // Purpose: Unix/X11 implementation of wxDisplay class
4 // Author: Brian Victor
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
19 #include "wx/display.h"
24 #include "wx/dynarray.h"
25 #include "wx/gdicmn.h"
26 #include "wx/string.h"
28 #endif /* WX_PRECOMP */
32 size_t wxDisplayBase::GetCount()
37 int wxDisplayBase::GetFromPoint(const wxPoint
&p
)
42 wxDisplay::wxDisplay(size_t index
)
43 : wxDisplayBase ( index
)
47 wxDisplay::~wxDisplay()
51 wxRect
wxDisplay::GetGeometry() const
53 wxRect
vRect(0,0,0,0);
58 int wxDisplay::GetDepth() const
63 wxString
wxDisplay::GetName() const
69 wxArrayVideoModes
wxDisplay::GetModes(const wxVideoMode
& mode
) const
71 wxArrayVideoModes modes
;
75 wxVideoMode
wxDisplay::GetCurrentMode() const
81 bool wxDisplay::ChangeMode(const wxVideoMode
& mode
)
87 #endif /* wxUSE_DISPLAY */