]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palette.h
Somehow, setting a tint color makes gauge work :/.
[wxWidgets.git] / include / wx / palette.h
CommitLineData
99d80019
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/palette.h
3// Purpose: Common header and base class for wxPalette
4// Author: Julian Smart
5// Modified by:
6// Created:
99d80019
JS
7// Copyright: (c) Julian Smart
8// Licence: wxWindows Licence
9/////////////////////////////////////////////////////////////////////////////
10
34138703
JS
11#ifndef _WX_PALETTE_H_BASE_
12#define _WX_PALETTE_H_BASE_
c801d85f 13
917be7ed 14#include "wx/defs.h"
2a2ec353 15
d275c7eb
VZ
16#if wxUSE_PALETTE
17
917be7ed
WS
18#include "wx/object.h"
19#include "wx/gdiobj.h"
20
88ef3a57 21// wxPaletteBase
53a2db12 22class WXDLLIMPEXP_CORE wxPaletteBase: public wxGDIObject
917be7ed
WS
23{
24public:
25 virtual ~wxPaletteBase() { }
26
9a83f860 27 virtual int GetColoursCount() const { wxFAIL_MSG( wxT("not implemented") ); return 0; }
917be7ed
WS
28};
29
bd362275 30#if defined(__WXMSW__)
d275c7eb 31 #include "wx/msw/palette.h"
61845585
VZ
32#elif defined(__WXX11__) || defined(__WXMOTIF__)
33 #include "wx/x11/palette.h"
1a4ebaf8 34#elif defined(__WXGTK__) || defined(__WXCOCOA__)
d275c7eb 35 #include "wx/generic/paletteg.h"
34138703 36#elif defined(__WXMAC__)
ef0e9220 37 #include "wx/osx/palette.h"
1777b9bb 38#elif defined(__WXPM__)
d275c7eb 39 #include "wx/os2/palette.h"
c801d85f
KB
40#endif
41
d275c7eb
VZ
42#endif // wxUSE_PALETTE
43
61845585 44#endif // _WX_PALETTE_H_BASE_