]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/settings.h
added wxEncodingToCodepage() and implemented it properly (using in32 API instead...
[wxWidgets.git] / include / wx / motif / settings.h
CommitLineData
9b6dbb09
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: settings.h
3// Purpose: wxSystemSettings class
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
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/defs.h"
21#include "wx/object.h"
22#include "wx/colour.h"
23#include "wx/font.h"
24
9b6dbb09
JS
25
26class WXDLLEXPORT wxSystemSettings: public wxObject
27{
28public:
29 inline wxSystemSettings() {}
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);
f8e3449c 39
253293c1
VS
40 // Return true if the port has certain feature
41 static bool GetCapability(int index);
42
9b6dbb09
JS
43};
44
45#endif
46 // _WX_SETTINGS_H_