58614078c4
from the GTK+ hot-line, eh mail-list. The news is that they don't know what they do. Conversion from 12pt, wxSWISS, wxNORMAL, wxNORMAL to GTK+ system font Probably some other things git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
43 lines
949 B
C++
43 lines
949 B
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 WXDLLEXPORT wxSystemSettings: public wxObject
|
|
{
|
|
public:
|
|
inline wxSystemSettings(void) {}
|
|
|
|
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);
|
|
};
|
|
|
|
#endif
|
|
// __GTKSETTINGSH__
|