1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/dfb/settings.cpp
3 // Purpose: wxSystemSettings implementation
4 // Author: Vaclav Slavik
6 // Copyright: (c) 2006 REA Elektronik GmbH
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 // For compilers that support precompilation, includes "wx.h".
11 #include "wx/wxprec.h"
17 #include "wx/settings.h"
20 #include "wx/colour.h"
22 #include "wx/gdicmn.h"
26 wxColour
wxSystemSettingsNative::GetColour(wxSystemColour
WXUNUSED(index
))
28 // overridden by wxSystemSettings::GetColour in wxUniversal
29 return wxColour(0,0,0);
32 wxFont
wxSystemSettingsNative::GetFont(wxSystemFont index
)
36 case wxSYS_OEM_FIXED_FONT
:
37 case wxSYS_ANSI_FIXED_FONT
:
38 case wxSYS_SYSTEM_FIXED_FONT
:
42 wxFONTFAMILY_TELETYPE
,
47 case wxSYS_ANSI_VAR_FONT
:
48 case wxSYS_SYSTEM_FONT
:
49 case wxSYS_DEVICE_DEFAULT_FONT
:
50 case wxSYS_DEFAULT_GUI_FONT
:
60 wxFAIL_MSG( "unknown font type" );
65 int wxSystemSettingsNative::GetMetric(wxSystemMetric index
,
66 wxWindow
* WXUNUSED(win
))
73 wxDisplaySize(&val
, NULL
);
76 wxDisplaySize(NULL
, &val
);
84 bool wxSystemSettingsNative::HasFeature(wxSystemFeature index
)
88 case wxSYS_CAN_ICONIZE_FRAME
:
89 case wxSYS_CAN_DRAW_FRAME_DECORATIONS
:
90 case wxSYS_TABLET_PRESENT
:
94 wxFAIL_MSG( "unknown feature" );