]>
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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13 #pragma implementation "display.h"
16 // For compilers that support precompilation, includes "wx.h".
17 #include "wx/wxprec.h"
23 #include "wx/display.h"
28 #include "wx/dynarray.h"
29 #include "wx/gdicmn.h"
30 #include "wx/string.h"
32 #endif /* WX_PRECOMP */
36 size_t wxDisplayBase::GetCount()
41 int wxDisplayBase::GetFromPoint(const wxPoint
&p
)
46 wxDisplay::wxDisplay(size_t index
)
47 : wxDisplayBase ( index
)
51 wxDisplay::~wxDisplay()
55 wxRect
wxDisplay::GetGeometry() const
57 wxRect
vRect(0,0,0,0);
62 int wxDisplay::GetDepth() const
67 wxString
wxDisplay::GetName() const
73 wxArrayVideoModes
wxDisplay::GetModes(const wxVideoMode
& mode
) const
75 wxArrayVideoModes modes
;
79 wxVideoMode
wxDisplay::GetCurrentMode() const
85 bool wxDisplay::ChangeMode(const wxVideoMode
& mode
)
91 #endif /* wxUSE_DISPLAY */