1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/settings.h
3 // Purpose: wxSystemSettings class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_SETTINGS_H_
13 #define _WX_SETTINGS_H_
16 #pragma interface "settings.h"
19 #include "wx/colour.h"
22 class WXDLLEXPORT wxSystemSettings
: public wxObject
25 wxSystemSettings() { }
27 // Get a system colour
28 static wxColour
GetSystemColour(int index
);
31 static wxFont
GetSystemFont(int index
);
33 // Get a system metric, e.g. scrollbar size
34 static int GetSystemMetric(int index
);
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
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
) ;