2001-06-26 17:05:06 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: settings.h
|
2001-08-09 18:40:39 -04:00
|
|
|
// Author: Vaclav Slavik
|
2001-06-26 17:05:06 -04:00
|
|
|
// Id: $Id$
|
2001-08-09 18:40:39 -04:00
|
|
|
// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
|
2001-06-26 17:05:06 -04:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __GTKSETTINGSH__
|
|
|
|
#define __GTKSETTINGSH__
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "settings.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/defs.h"
|
|
|
|
#include "wx/gdicmn.h"
|
|
|
|
#include "wx/pen.h"
|
|
|
|
#include "wx/font.h"
|
|
|
|
|
|
|
|
// FIXME_MGL - probably belongs to wxUniversal
|
|
|
|
|
|
|
|
class wxSystemSettings: public wxObject
|
|
|
|
{
|
|
|
|
public:
|
2001-08-09 18:40:39 -04:00
|
|
|
wxSystemSettings() {}
|
2001-06-26 17:05:06 -04:00
|
|
|
|
2001-08-09 18:40:39 -04:00
|
|
|
static void Init() {}
|
2001-06-26 17:05:06 -04:00
|
|
|
static void Done() {}
|
|
|
|
|
|
|
|
// Get a system colour
|
2001-08-09 18:40:39 -04:00
|
|
|
static wxColour GetSystemColour(int index);
|
2001-06-26 17:05:06 -04:00
|
|
|
|
|
|
|
// Get a system font
|
2001-08-09 18:40:39 -04:00
|
|
|
static wxFont GetSystemFont(int index);
|
2001-06-26 17:05:06 -04:00
|
|
|
|
|
|
|
// Get a system metric, e.g. scrollbar size
|
2001-08-09 18:40:39 -04:00
|
|
|
static int GetSystemMetric(int index);
|
2001-10-01 18:09:58 -04:00
|
|
|
|
|
|
|
// Return true if the port can draw frame titlebar (i.e. doesn't need wxUniv for it)
|
|
|
|
static bool HasFrameDecorations() { return FALSE; }
|
2001-06-26 17:05:06 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// __GTKSETTINGSH__
|