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