]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mgl/settings.h
implemented, tested and documented wxTextCtrl::SetMaxLength()
[wxWidgets.git] / include / wx / mgl / settings.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: settings.h
3 // Author: Vaclav Slavik
4 // Id: $Id$
5 // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9 #ifndef __GTKSETTINGSH__
10 #define __GTKSETTINGSH__
11
12 #ifdef __GNUG__
13 #pragma interface "settings.h"
14 #endif
15
16 #include "wx/defs.h"
17 #include "wx/gdicmn.h"
18 #include "wx/pen.h"
19 #include "wx/font.h"
20
21 // FIXME_MGL - probably belongs to wxUniversal
22
23 class wxSystemSettings: public wxObject
24 {
25 public:
26 wxSystemSettings() {}
27
28 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__