]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mgl/settings.h
fixed off by one error in wxXPMDecoder::ReadFile
[wxWidgets.git] / include / wx / mgl / settings.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: settings.h
3 // Author: Vaclav Slavik
4 // Id: $Id$
5 // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9 #ifndef __GTKSETTINGSH__
10 #define __GTKSETTINGSH__
11
12 #ifdef __GNUG__
13 #pragma interface "settings.h"
14 #endif
15
16 #include "wx/defs.h"
17 #include "wx/gdicmn.h"
18 #include "wx/pen.h"
19 #include "wx/font.h"
20
21 // FIXME_MGL - probably belongs to wxUniversal
22
23 class wxSystemSettings: public wxObject
24 {
25 public:
26 wxSystemSettings() {}
27
28 static void Init() {}
29 static void Done() {}
30
31 // Get a system colour
32 static wxColour GetSystemColour(int index);
33
34 // Get a system font
35 static wxFont GetSystemFont(int index);
36
37 // Get a system metric, e.g. scrollbar size
38 static int GetSystemMetric(int index);
39
40 // Return true if the port can draw frame titlebar (i.e. doesn't need wxUniv for it)
41 static bool HasFrameDecorations() { return FALSE; }
42 };
43
44 #endif
45 // __GTKSETTINGSH__