]>
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); | |
f8e3449c VS |
38 | |
39 | // Return true if the port can draw frame titlebar (i.e. doesn't need wxUniv for it) | |
40 | static bool HasFrameDecorations() { return TRUE; } | |
c801d85f KB |
41 | }; |
42 | ||
43 | #endif | |
44 | // __GTKSETTINGSH__ |