]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: 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/setup.h" | |
20 | #include "wx/colour.h" | |
21 | #include "wx/font.h" | |
22 | ||
23 | class WXDLLEXPORT wxSystemSettings: public wxObject | |
24 | { | |
25 | public: | |
26 | inline wxSystemSettings(void) {} | |
27 | ||
28 | // Get a system colour | |
29 | static wxColour GetSystemColour(int index); | |
30 | ||
31 | // Get a system font | |
32 | static wxFont GetSystemFont(int index); | |
33 | ||
34 | // Get a system metric, e.g. scrollbar size | |
35 | static int GetSystemMetric(int index); | |
36 | }; | |
37 | ||
38 | #endif | |
39 | // _WX_SETTINGS_H_ |