1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // TODO: these settings should probably be configurable from some central or
13 // per-user file, which can be edited using a Windows-control-panel clone.
14 // Also they should be documented better. Some are very MS Windows-ish.
17 #pragma implementation "settings.h"
20 #include "wx/settings.h"
22 wxColour wxSystemSettings
::GetSystemColour(int index
)
28 wxFont wxSystemSettings
::GetSystemFont(int index
)
33 case wxSYS_DEVICE_DEFAULT_FONT
:
37 case wxSYS_DEFAULT_PALETTE
:
41 case wxSYS_SYSTEM_FIXED_FONT
:
45 case wxSYS_SYSTEM_FONT
:
50 case wxSYS_DEFAULT_GUI_FONT
:
59 // Get a system metric, e.g. scrollbar size
60 int wxSystemSettings
::GetSystemMetric(int index
)
64 case wxSYS_MOUSE_BUTTONS
:
97 case wxSYS_HSCROLL_ARROW_X
:
100 case wxSYS_HSCROLL_ARROW_Y
:
112 case wxSYS_ICONSPACING_X
:
115 case wxSYS_ICONSPACING_Y
:
118 case wxSYS_WINDOWMIN_X
:
121 case wxSYS_WINDOWMIN_Y
:
130 case wxSYS_FRAMESIZE_X
:
133 case wxSYS_FRAMESIZE_Y
:
136 case wxSYS_SMALLICON_X
:
139 case wxSYS_SMALLICON_Y
:
142 case wxSYS_HSCROLL_Y
:
145 case wxSYS_VSCROLL_X
:
148 case wxSYS_VSCROLL_ARROW_X
:
151 case wxSYS_VSCROLL_ARROW_Y
:
157 case wxSYS_CAPTION_Y
:
163 case wxSYS_NETWORK_PRESENT
:
166 case wxSYS_PENWINDOWS_PRESENT
:
169 case wxSYS_SHOW_SOUNDS
:
172 case wxSYS_SWAP_BUTTONS
: