added wxColourScheme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
53
include/wx/univ/colschem.h
Normal file
53
include/wx/univ/colschem.h
Normal file
@@ -0,0 +1,53 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/univ/colschem.h
|
||||
// Purpose: wxColourScheme class provides the colours to use for drawing
|
||||
// Author: Vadim Zeitlin
|
||||
// Modified by:
|
||||
// Created: 19.08.00
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 2000 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
|
||||
// Licence: wxWindows license
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_UNIV_COLSCHEM_H_
|
||||
#define _WX_UNIV_COLSCHEM_H_
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "colschem.h"
|
||||
#endif
|
||||
|
||||
#include "wx/colour.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxColourScheme
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxColourScheme
|
||||
{
|
||||
public:
|
||||
// the standard colours
|
||||
enum StdColour
|
||||
{
|
||||
// these colours are used for drawing the shadows of 3D objects, use
|
||||
// only FACE in the renderers which don't use 3D shading
|
||||
DARK_SHADOW,
|
||||
FACE,
|
||||
HIGHLIGHT,
|
||||
LIGHT,
|
||||
SHADOW,
|
||||
|
||||
// the default colours for the controls
|
||||
CONTROL_TEXT,
|
||||
HIGHLIGHT,
|
||||
HIGHLIGHT_TEXT,
|
||||
|
||||
MAX
|
||||
};
|
||||
|
||||
virtual wxColour Get(StdColour col) = 0;
|
||||
};
|
||||
|
||||
// some people just can't spell it correctly :-)
|
||||
typedef wxColourScheme wxColorScheme;
|
||||
|
||||
#endif // _WX_UNIV_COLSCHEM_H_
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
class WXDLLEXPORT wxRenderer;
|
||||
class WXDLLEXPORT wxInputHandler;
|
||||
class WXDLLEXPORT wxColourScheme { };
|
||||
class WXDLLEXPORT wxColourScheme;
|
||||
|
||||
class WXDLLEXPORT wxTheme
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user