]> git.saurik.com Git - wxWidgets.git/blob - src/os2/display.cpp
moved WM_PRINTCLIENT from wxRadioBox to wxStaticBox to allow using it as parent for...
[wxWidgets.git] / src / os2 / display.cpp
1 ///////////////////////////////////////////////////////////////////////////
2 // Name: displayx11.cpp
3 // Purpose: Unix/X11 implementation of wxDisplay class
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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13 #pragma implementation "display.h"
14 #endif
15
16 // For compilers that support precompilation, includes "wx.h".
17 #include "wx/wxprec.h"
18
19 #ifdef __BORLANDC__
20 #pragma hdrstop
21 #endif
22
23 #include "wx/display.h"
24 #include "wx/intl.h"
25 #include "wx/log.h"
26
27 #ifndef WX_PRECOMP
28 #include "wx/dynarray.h"
29 #include "wx/gdicmn.h"
30 #include "wx/string.h"
31 #include "wx/utils.h"
32 #endif /* WX_PRECOMP */
33
34 #if wxUSE_DISPLAY
35
36 size_t wxDisplayBase::GetCount()
37 {
38 return 1;
39 }
40
41 int wxDisplayBase::GetFromPoint(const wxPoint &p)
42 {
43 return -1;
44 }
45
46 wxDisplay::wxDisplay(size_t index)
47 : wxDisplayBase ( index )
48 {
49 }
50
51 wxDisplay::~wxDisplay()
52 {
53 }
54
55 wxRect wxDisplay::GetGeometry() const
56 {
57 wxRect vRect(0,0,0,0);
58
59 return vRect;
60 }
61
62 int wxDisplay::GetDepth() const
63 {
64 return 24;
65 }
66
67 wxString wxDisplay::GetName() const
68 {
69 return wxEmptyString;
70 }
71
72
73 wxArrayVideoModes wxDisplay::GetModes(const wxVideoMode& mode) const
74 {
75 wxArrayVideoModes modes;
76 return modes;
77 }
78
79 wxVideoMode wxDisplay::GetCurrentMode() const
80 {
81 // Not implemented
82 return wxVideoMode();
83 }
84
85 bool wxDisplay::ChangeMode(const wxVideoMode& mode)
86 {
87 // Not implemented
88 return false;
89 }
90
91 #endif /* wxUSE_DISPLAY */