1 /////////////////////////////////////////////////////////////////////////////
7 // Created: 18-June-1999
9 // Copyright: (c) 2003 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
16 //---------------------------------------------------------------------------
20 #include <wx/effects.h>
23 //---------------------------------------------------------------------------
25 class wxEffects: public wxObject
28 // Assume system colours
31 wxColour GetHighlightColour() const;
32 wxColour GetLightShadow() const;
33 wxColour GetFaceColour() const;
34 wxColour GetMediumShadow() const;
35 wxColour GetDarkShadow() const;
37 void SetHighlightColour(const wxColour& c);
38 void SetLightShadow(const wxColour& c);
39 void SetFaceColour(const wxColour& c);
40 void SetMediumShadow(const wxColour& c);
41 void SetDarkShadow(const wxColour& c);
43 void Set(const wxColour& highlightColour, const wxColour& lightShadow,
44 const wxColour& faceColour, const wxColour& mediumShadow,
45 const wxColour& darkShadow);
48 void DrawSunkenEdge(wxDC& dc, const wxRect& rect, int borderSize = 1);
51 bool TileBitmap(const wxRect& rect, wxDC& dc, wxBitmap& bitmap);
56 //---------------------------------------------------------------------------