]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/settings.h
GetMacXXXX renamed to MacGetXXXXX
[wxWidgets.git] / include / wx / gtk / settings.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: settings.h
3 // Purpose:
4 // Author: Robert Roebling
5 // Id: $Id$
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
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
22 class wxSystemSettings: public wxObject
23 {
24 public:
25 inline wxSystemSettings() {}
26
27 inline static void Init() {}
28 static void Done();
29
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 // Return true if the port has certain feature
40 static bool GetCapability(int index);
41 };
42
43 #endif
44 // __GTKSETTINGSH__