]>
Commit | Line | Data |
---|---|---|
c801d85f KB |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: settings.h | |
3 | // Purpose: | |
4 | // Author: Robert Roebling | |
58614078 RR |
5 | // Id: $Id$ |
6 | // Copyright: (c) 1998 Robert Roebling | |
c801d85f KB |
7 | // Licence: wxWindows licence |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
c801d85f KB |
10 | #ifndef __GTKSETTINGSH__ |
11 | #define __GTKSETTINGSH__ | |
12 | ||
13 | #ifdef __GNUG__ | |
14 | #pragma interface | |
15 | #endif | |
16 | ||
17 | #include "wx/defs.h" | |
18 | #include "wx/gdicmn.h" | |
19 | #include "wx/pen.h" | |
20 | #include "wx/font.h" | |
21 | ||
1ecc4d80 | 22 | class wxSystemSettings: public wxObject |
c801d85f KB |
23 | { |
24 | public: | |
1ecc4d80 | 25 | inline wxSystemSettings() {} |
c801d85f | 26 | |
a3622daa VZ |
27 | inline static void Init() {} |
28 | static void Done(); | |
29 | ||
c801d85f KB |
30 | // Get a system colour |
31 | static wxColour GetSystemColour(int index); | |
32 | ||
33 | // Get a system font | |
34 | static wxFont GetSystemFont(int index); | |
35 | ||
36 | // Get a system metric, e.g. scrollbar size | |
37 | static int GetSystemMetric(int index); | |
38 | }; | |
39 | ||
40 | #endif | |
41 | // __GTKSETTINGSH__ |