]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/settings.h
wxGTK popup menu positioning fix
[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 // Return true if the port has certain feature
37 static bool GetCapability(int index);
38 };
39
40 #endif
41 // _WX_SETTINGS_H_