1 /////////////////////////////////////////////////////////////////////////////
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "settings.h"
16 #include "wx/settings.h"
18 wxColour
wxSystemSettings::GetSystemColour(int index
)
24 wxFont
wxSystemSettings::GetSystemFont(int index
)
29 case wxSYS_DEVICE_DEFAULT_FONT
:
33 case wxSYS_DEFAULT_PALETTE
:
37 case wxSYS_SYSTEM_FIXED_FONT
:
41 case wxSYS_SYSTEM_FONT
:
46 case wxSYS_DEFAULT_GUI_FONT
:
55 // Get a system metric, e.g. scrollbar size
56 int wxSystemSettings::GetSystemMetric(int index
)
60 case wxSYS_MOUSE_BUTTONS
:
93 case wxSYS_HSCROLL_ARROW_X
:
96 case wxSYS_HSCROLL_ARROW_Y
:
108 case wxSYS_ICONSPACING_X
:
111 case wxSYS_ICONSPACING_Y
:
114 case wxSYS_WINDOWMIN_X
:
117 case wxSYS_WINDOWMIN_Y
:
126 case wxSYS_FRAMESIZE_X
:
129 case wxSYS_FRAMESIZE_Y
:
132 case wxSYS_SMALLICON_X
:
135 case wxSYS_SMALLICON_Y
:
138 case wxSYS_HSCROLL_Y
:
141 case wxSYS_VSCROLL_X
:
144 case wxSYS_VSCROLL_ARROW_X
:
147 case wxSYS_VSCROLL_ARROW_Y
:
153 case wxSYS_CAPTION_Y
:
159 case wxSYS_NETWORK_PRESENT
:
162 case wxSYS_PENWINDOWS_PRESENT
:
165 case wxSYS_SHOW_SOUNDS
:
168 case wxSYS_SWAP_BUTTONS
: