2005-05-04 14:57:50 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/brush.h
|
|
|
|
// Purpose: Includes platform-specific wxBrush file
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created:
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: Julian Smart
|
|
|
|
// Licence: wxWindows Licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-14 20:23:28 -04:00
|
|
|
#ifndef _WX_BRUSH_H_BASE_
|
|
|
|
#define _WX_BRUSH_H_BASE_
|
1998-05-20 10:01:55 -04:00
|
|
|
|
2004-12-03 12:31:53 -05:00
|
|
|
#include "wx/defs.h"
|
|
|
|
#include "wx/object.h"
|
|
|
|
#include "wx/gdiobj.h"
|
|
|
|
|
2004-12-03 10:31:31 -05:00
|
|
|
// wxBrushBase
|
|
|
|
class WXDLLEXPORT wxBrushBase: public wxGDIObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual ~wxBrushBase() { }
|
|
|
|
|
|
|
|
virtual int GetStyle() const = 0;
|
|
|
|
|
|
|
|
virtual bool IsHatch() const
|
|
|
|
{ return (GetStyle()>=wxFIRST_HATCH) && (GetStyle()<=wxLAST_HATCH); }
|
|
|
|
};
|
|
|
|
|
2004-12-20 07:44:22 -05:00
|
|
|
#if defined(__WXPALMOS__)
|
2004-10-19 09:40:30 -04:00
|
|
|
#include "wx/palmos/brush.h"
|
|
|
|
#elif defined(__WXMSW__)
|
2003-07-21 16:41:48 -04:00
|
|
|
#include "wx/msw/brush.h"
|
|
|
|
#elif defined(__WXMOTIF__) || defined(__WXX11__)
|
|
|
|
#include "wx/x11/brush.h"
|
1998-07-10 10:15:17 -04:00
|
|
|
#elif defined(__WXGTK__)
|
2003-07-21 16:41:48 -04:00
|
|
|
#include "wx/gtk/brush.h"
|
2001-06-26 16:59:19 -04:00
|
|
|
#elif defined(__WXMGL__)
|
2003-07-21 16:41:48 -04:00
|
|
|
#include "wx/mgl/brush.h"
|
1998-08-14 20:23:28 -04:00
|
|
|
#elif defined(__WXMAC__)
|
2003-07-21 16:41:48 -04:00
|
|
|
#include "wx/mac/brush.h"
|
2003-03-22 01:18:36 -05:00
|
|
|
#elif defined(__WXCOCOA__)
|
2003-07-21 16:41:48 -04:00
|
|
|
#include "wx/cocoa/brush.h"
|
1999-07-27 23:38:12 -04:00
|
|
|
#elif defined(__WXPM__)
|
2003-07-21 16:41:48 -04:00
|
|
|
#include "wx/os2/brush.h"
|
1998-05-20 10:01:55 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
1998-08-14 20:23:28 -04:00
|
|
|
// _WX_BRUSH_H_BASE_
|