Some more Motif work; included utils.h in fileconf.cpp (for wxGetHomeDir or something)
[wxWidgets.git] / src / motif / settings.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: settings.cpp
3 // Purpose: wxSettings
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 17/09/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
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.
15
16 #ifdef __GNUG__
17 #pragma implementation "settings.h"
18 #endif
19
20 #include "wx/settings.h"
21
22 wxColour wxSystemSettings::GetSystemColour(int index)
23 {
24 // TODO
25 return wxColour();
26 }
27
28 wxFont wxSystemSettings::GetSystemFont(int index)
29 {
30 // TODO
31 switch (index)
32 {
33 case wxSYS_DEVICE_DEFAULT_FONT:
34 {
35 break;
36 }
37 case wxSYS_DEFAULT_PALETTE:
38 {
39 break;
40 }
41 case wxSYS_SYSTEM_FIXED_FONT:
42 {
43 break;
44 }
45 case wxSYS_SYSTEM_FONT:
46 {
47 break;
48 }
49 default:
50 case wxSYS_DEFAULT_GUI_FONT:
51 {
52 break;
53 }
54 }
55
56 return wxFont();
57 }
58
59 // Get a system metric, e.g. scrollbar size
60 int wxSystemSettings::GetSystemMetric(int index)
61 {
62 switch ( index)
63 {
64 case wxSYS_MOUSE_BUTTONS:
65 // TODO
66 return 0;
67 case wxSYS_BORDER_X:
68 // TODO
69 return 0;
70 case wxSYS_BORDER_Y:
71 // TODO
72 return 0;
73 case wxSYS_CURSOR_X:
74 // TODO
75 return 0;
76 case wxSYS_CURSOR_Y:
77 // TODO
78 return 0;
79 case wxSYS_DCLICK_X:
80 // TODO
81 return 0;
82 case wxSYS_DCLICK_Y:
83 // TODO
84 return 0;
85 case wxSYS_DRAG_X:
86 // TODO
87 return 0;
88 case wxSYS_DRAG_Y:
89 // TODO
90 return 0;
91 case wxSYS_EDGE_X:
92 // TODO
93 return 0;
94 case wxSYS_EDGE_Y:
95 // TODO
96 return 0;
97 case wxSYS_HSCROLL_ARROW_X:
98 // TODO
99 return 0;
100 case wxSYS_HSCROLL_ARROW_Y:
101 // TODO
102 return 0;
103 case wxSYS_HTHUMB_X:
104 // TODO
105 return 0;
106 case wxSYS_ICON_X:
107 // TODO
108 return 0;
109 case wxSYS_ICON_Y:
110 // TODO
111 return 0;
112 case wxSYS_ICONSPACING_X:
113 // TODO
114 return 0;
115 case wxSYS_ICONSPACING_Y:
116 // TODO
117 return 0;
118 case wxSYS_WINDOWMIN_X:
119 // TODO
120 return 0;
121 case wxSYS_WINDOWMIN_Y:
122 // TODO
123 return 0;
124 case wxSYS_SCREEN_X:
125 // TODO
126 return 0;
127 case wxSYS_SCREEN_Y:
128 // TODO
129 return 0;
130 case wxSYS_FRAMESIZE_X:
131 // TODO
132 return 0;
133 case wxSYS_FRAMESIZE_Y:
134 // TODO
135 return 0;
136 case wxSYS_SMALLICON_X:
137 // TODO
138 return 0;
139 case wxSYS_SMALLICON_Y:
140 // TODO
141 return 0;
142 case wxSYS_HSCROLL_Y:
143 // TODO
144 return 0;
145 case wxSYS_VSCROLL_X:
146 // TODO
147 return 0;
148 case wxSYS_VSCROLL_ARROW_X:
149 // TODO
150 return 0;
151 case wxSYS_VSCROLL_ARROW_Y:
152 // TODO
153 return 0;
154 case wxSYS_VTHUMB_Y:
155 // TODO
156 return 0;
157 case wxSYS_CAPTION_Y:
158 // TODO
159 return 0;
160 case wxSYS_MENU_Y:
161 // TODO
162 return 0;
163 case wxSYS_NETWORK_PRESENT:
164 // TODO
165 return 0;
166 case wxSYS_PENWINDOWS_PRESENT:
167 // TODO
168 return 0;
169 case wxSYS_SHOW_SOUNDS:
170 // TODO
171 return 0;
172 case wxSYS_SWAP_BUTTONS:
173 // TODO
174 return 0;
175 default:
176 return 0;
177 }
178 return 0;
179 }
180