]> git.saurik.com Git - wxWidgets.git/blob - src/mgl/display.cpp
Minimal (nearly empty) wxDisplay for wxMGL (to compensate src/common/tplvcmn.cpp...
[wxWidgets.git] / src / mgl / display.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/mgl/display.cpp
3 // Purpose: MGL Implementation of wxDisplay class
4 // Author: Wlodzimierz ABX Skiba
5 // Modified by:
6 // Created: 05/03/2006
7 // RCS-ID: $Id$
8 // Copyright: (c) Wlodzimierz Skiba
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
14
15 #ifdef __BORLANDC__
16 #pragma hdrstop
17 #endif
18
19 #if wxUSE_DISPLAY
20
21 #ifndef WX_PRECOMP
22 #include "wx/gdicmn.h"
23 #endif
24
25 #include "wx/display.h"
26
27 /* static */
28 int wxDisplayBase::GetFromPoint ( const wxPoint& WXUNUSED(pt) )
29 {
30 // TODO
31 return wxNOT_FOUND;
32 }
33
34 /* static */
35 size_t wxDisplayBase::GetCount()
36 {
37 // TODO
38 return 1;
39 }
40
41 // ----------------------------------------------------------------------------
42 // wxDisplay ctor/dtor
43 // ----------------------------------------------------------------------------
44
45 wxDisplay::wxDisplay ( size_t n )
46 : wxDisplayBase ( n )
47 {
48 }
49
50 wxDisplay::~wxDisplay()
51 {
52 }
53
54 bool wxDisplay::IsOk() const
55 {
56 // TODO
57 return m_index < GetCount();
58 }
59
60 wxRect wxDisplay::GetGeometry() const
61 {
62 wxRect rect;
63 // TODO
64 return rect;
65 }
66
67 wxString wxDisplay::GetName() const
68 {
69 // TODO
70 return wxEmptyString;
71 }
72
73 wxArrayVideoModes wxDisplay::GetModes(const wxVideoMode& WXUNUSED(modeMatch)) const
74 {
75 wxArrayVideoModes modes;
76 // TODO
77 return modes;
78 }
79
80 wxVideoMode wxDisplay::GetCurrentMode() const
81 {
82 wxVideoMode mode;
83 // TODO
84 return mode;
85 }
86
87 bool wxDisplay::ChangeMode(const wxVideoMode& WXUNUSED(mode))
88 {
89 // TODO
90 return false;
91 }
92
93 bool wxDisplay::IsPrimary() const
94 {
95 // TODO
96 return false;
97 }
98
99 #endif // wxUSE_DISPLAY