]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: settings.h | |
3 | // Purpose: wxSystemSettings class | |
4 | // Author: David Webster | |
5 | // Modified by: | |
6 | // Created: 10/15/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) AUTHOR | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_SETTINGS_H_ | |
13 | #define _WX_SETTINGS_H_ | |
14 | ||
15 | #include "wx/setup.h" | |
16 | #include "wx/colour.h" | |
17 | #include "wx/font.h" | |
18 | ||
19 | ||
20 | class WXDLLEXPORT wxSystemSettings: public wxObject | |
21 | { | |
22 | public: | |
23 | inline wxSystemSettings() {} | |
24 | ||
25 | // Get a system colour | |
26 | static wxColour GetSystemColour(int index); | |
27 | ||
28 | // Get a system font | |
29 | static wxFont GetSystemFont(int index); | |
30 | ||
31 | // Get a system metric, e.g. scrollbar size | |
32 | static int GetSystemMetric(int index); | |
33 | }; | |
34 | ||
35 | #endif | |
36 | // _WX_SETTINGS_H_ |