/////////////////////////////////////////////////////////////////////////////
-// Name: effects.h
+// Name: wx/effects.h
// Purpose: wxEffects class
// Draws 3D effects.
// Author: Julian Smart et al
// Created: 25/4/2000
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "effects.h"
-#endif
-
#ifndef _WX_EFFECTS_H_
#define _WX_EFFECTS_H_
* wxEffects: various 3D effects
*/
+#include "wx/object.h"
+#include "wx/colour.h"
+#include "wx/gdicmn.h"
+#include "wx/dc.h"
+
class WXDLLEXPORT wxEffects: public wxObject
{
DECLARE_CLASS(wxEffects)
void DrawSunkenEdge(wxDC& dc, const wxRect& rect, int borderSize = 1);
// Tile a bitmap
- bool TileBitmap(const wxRect& rect, wxDC& dc, wxBitmap& bitmap);
+ bool TileBitmap(const wxRect& rect, wxDC& dc, const wxBitmap& bitmap);
protected:
wxColour m_highlightColour; // Usually white
};
#endif
-