wxWidgets/include/wx/gtk1/settings.h
2001-10-01 22:11:56 +00:00

45 lines
1.1 KiB
C++

/////////////////////////////////////////////////////////////////////////////
// Name: settings.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __GTKSETTINGSH__
#define __GTKSETTINGSH__
#ifdef __GNUG__
#pragma interface
#endif
#include "wx/defs.h"
#include "wx/gdicmn.h"
#include "wx/pen.h"
#include "wx/font.h"
class wxSystemSettings: public wxObject
{
public:
inline wxSystemSettings() {}
inline static void Init() {}
static void Done();
// Get a system colour
static wxColour GetSystemColour(int index);
// Get a system font
static wxFont GetSystemFont(int index);
// Get a system metric, e.g. scrollbar size
static int GetSystemMetric(int index);
// Return true if the port can draw frame titlebar (i.e. doesn't need wxUniv for it)
static bool HasFrameDecorations() { return TRUE; }
};
#endif
// __GTKSETTINGSH__