1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2001-04-21 16:03:10 +00:00
|
|
|
// Name: wx/msw/settings.h
|
1998-05-20 14:12:05 +00:00
|
|
|
// Purpose: wxSystemSettings class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 23:52:45 +00:00
|
|
|
// Copyright: (c) Julian Smart
|
2001-04-21 16:03:10 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-07 23:52:45 +00:00
|
|
|
#ifndef _WX_SETTINGS_H_
|
|
|
|
#define _WX_SETTINGS_H_
|
1998-05-20 14:12:05 +00:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "settings.h"
|
|
|
|
#endif
|
|
|
|
|
1999-08-22 20:16:23 +00:00
|
|
|
#include "wx/colour.h"
|
|
|
|
#include "wx/font.h"
|
1998-05-20 14:12:05 +00:00
|
|
|
|
2001-04-21 16:03:10 +00:00
|
|
|
class WXDLLEXPORT wxSystemSettings : public wxObject
|
1998-05-20 14:12:05 +00:00
|
|
|
{
|
|
|
|
public:
|
2001-04-21 16:03:10 +00:00
|
|
|
wxSystemSettings() { }
|
1998-05-20 14:12:05 +00:00
|
|
|
|
|
|
|
// Get a system colour
|
2001-04-21 16:03:10 +00:00
|
|
|
static wxColour GetSystemColour(int index);
|
1998-05-20 14:12:05 +00:00
|
|
|
|
|
|
|
// Get a system font
|
2001-04-21 16:03:10 +00:00
|
|
|
static wxFont GetSystemFont(int index);
|
1998-05-20 14:12:05 +00:00
|
|
|
|
|
|
|
// Get a system metric, e.g. scrollbar size
|
2001-04-21 16:03:10 +00:00
|
|
|
static int GetSystemMetric(int index);
|
2001-06-14 10:06:47 +00:00
|
|
|
|
2001-10-30 23:30:04 +00:00
|
|
|
// Return true if the port has certain feature
|
|
|
|
static bool GetCapability(int index);
|
1998-05-20 14:12:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
1998-08-07 23:52:45 +00:00
|
|
|
// _WX_SETTINGS_H_
|