]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/settings.h
changed copyright to SciTech one
[wxWidgets.git] / include / wx / msw / settings.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/settings.h
3 // Purpose: wxSystemSettings class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
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/colour.h"
20 #include "wx/font.h"
21
22 class WXDLLEXPORT wxSystemSettings : public wxObject
23 {
24 public:
25 wxSystemSettings() { }
26
27 // Get a system colour
28 static wxColour GetSystemColour(int index);
29
30 // Get a system font
31 static wxFont GetSystemFont(int index);
32
33 // Get a system metric, e.g. scrollbar size
34 static int GetSystemMetric(int index);
35
36 // User-customizable hints to wxWindows or associated libraries
37 // These could also be used to influence GetSystem... calls, indeed
38 // to implement SetSystemColour/Font/Metric
39
40 static void SetOption(const wxString& name, const wxString& value);
41 static void SetOption(const wxString& name, int value);
42 static wxString GetOption(const wxString& name) ;
43 static int GetOptionInt(const wxString& name) ;
44 static bool HasOption(const wxString& name) ;
45 };
46
47 #endif
48 // _WX_SETTINGS_H_