]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/motif/settings.h
changed return type of RGBColor to const Reference (avoiding compiler warnings)
[wxWidgets.git] / include / wx / motif / settings.h
... / ...
CommitLineData
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
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);
39
40 // Return true if the port has certain feature
41 static bool GetCapability(int index);
42
43};
44
45#endif
46 // _WX_SETTINGS_H_