f8e3449ceb
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
45 lines
1.1 KiB
C++
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__
|