]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mgl/settings.h
added wxEncodingToCodepage() and implemented it properly (using in32 API instead...
[wxWidgets.git] / include / wx / mgl / settings.h
CommitLineData
32b8ec41
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: settings.h
7bdc1879 3// Author: Vaclav Slavik
32b8ec41 4// Id: $Id$
7bdc1879 5// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
32b8ec41
VZ
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
23class wxSystemSettings: public wxObject
24{
25public:
7bdc1879 26 wxSystemSettings() {}
32b8ec41 27
7bdc1879 28 static void Init() {}
32b8ec41
VZ
29 static void Done() {}
30
31 // Get a system colour
7bdc1879 32 static wxColour GetSystemColour(int index);
32b8ec41
VZ
33
34 // Get a system font
7bdc1879 35 static wxFont GetSystemFont(int index);
32b8ec41
VZ
36
37 // Get a system metric, e.g. scrollbar size
7bdc1879 38 static int GetSystemMetric(int index);
2343d81b 39
253293c1
VS
40 // Return true if the port has certain feature
41 static bool GetCapability(int index);
32b8ec41
VZ
42};
43
44#endif
45 // __GTKSETTINGSH__