]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/settings.h
made operator[](int n) const #ifdef _WXMSW__
[wxWidgets.git] / include / wx / gtk1 / 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
11 #ifndef __GTKSETTINGSH__
12 #define __GTKSETTINGSH__
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "wx/defs.h"
19 #include "wx/gdicmn.h"
20 #include "wx/pen.h"
21 #include "wx/font.h"
22
23 class WXDLLEXPORT wxSystemSettings: public wxObject
24 {
25 public:
26 inline wxSystemSettings(void) {}
27
28 inline static void Init() {}
29 static void Done();
30
31 // Get a system colour
32 static wxColour GetSystemColour(int index);
33
34 // Get a system font
35 static wxFont GetSystemFont(int index);
36
37 // Get a system metric, e.g. scrollbar size
38 static int GetSystemMetric(int index);
39 };
40
41 #endif
42 // __GTKSETTINGSH__