]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/settings.h
added wxSystemSettings::HasFrameDecorations (anybody knows a better name?)
[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 can draw frame titlebar (i.e. doesn't need wxUniv for it)
37 static bool HasFrameDecorations() { return TRUE; }
38
39 };
40
41 #endif
42 // _WX_SETTINGS_H_