]> git.saurik.com Git - wxWidgets.git/blob - include/wx/motif/settings.h
implemented, tested and documented wxTextCtrl::SetMaxLength()
[wxWidgets.git] / include / wx / motif / settings.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: settings.h
3 // Purpose: wxSystemSettings class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 17/09/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_SETTINGS_H_
13 #define _WX_SETTINGS_H_
14
15 #ifdef __GNUG__
16 #pragma interface "settings.h"
17 #endif
18
19 #include "wx/setup.h"
20 #include "wx/defs.h"
21 #include "wx/object.h"
22 #include "wx/colour.h"
23 #include "wx/font.h"
24
25
26 class WXDLLEXPORT wxSystemSettings: public wxObject
27 {
28 public:
29 inline wxSystemSettings() {}
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 // _WX_SETTINGS_H_