This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
71 lines
2.3 KiB
C++
71 lines
2.3 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/cocoa/brush.h
|
|
// Purpose: wxBrush class
|
|
// Author: David Elliott <dfe@cox.net>
|
|
// Modified by:
|
|
// Created: 2003/07/03
|
|
// Copyright: (c) 2003 David Elliott
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __WX_COCOA_BRUSH_H__
|
|
#define __WX_COCOA_BRUSH_H__
|
|
|
|
#include "wx/gdicmn.h"
|
|
#include "wx/gdiobj.h"
|
|
#include "wx/bitmap.h"
|
|
|
|
class WXDLLIMPEXP_FWD_CORE wxBrush;
|
|
|
|
// ========================================================================
|
|
// wxBrush
|
|
// ========================================================================
|
|
class WXDLLIMPEXP_CORE wxBrush: public wxBrushBase
|
|
{
|
|
DECLARE_DYNAMIC_CLASS(wxBrush)
|
|
// ------------------------------------------------------------------------
|
|
// initialization
|
|
// ------------------------------------------------------------------------
|
|
public:
|
|
wxBrush();
|
|
wxBrush(const wxColour& col, wxBrushStyle style = wxBRUSHSTYLE_SOLID);
|
|
#if FUTURE_WXWIN_COMPATIBILITY_3_0
|
|
wxDEPRECATED_FUTURE( wxBrush(const wxColour& col, int style) );
|
|
#endif
|
|
wxBrush(const wxBitmap& stipple);
|
|
virtual ~wxBrush();
|
|
|
|
// ------------------------------------------------------------------------
|
|
// Implementation
|
|
// ------------------------------------------------------------------------
|
|
virtual void SetColour(const wxColour& col) ;
|
|
virtual void SetColour(unsigned char r, unsigned char g, unsigned char b) ;
|
|
virtual void SetStyle(wxBrushStyle style) ;
|
|
virtual void SetStipple(const wxBitmap& stipple) ;
|
|
|
|
// comparison
|
|
bool operator == (const wxBrush& brush) const
|
|
{ return m_refData == brush.m_refData; }
|
|
bool operator != (const wxBrush& brush) const
|
|
{ return m_refData != brush.m_refData; }
|
|
|
|
// accessors
|
|
wxColour GetColour() const;
|
|
virtual wxBrushStyle GetStyle() const;
|
|
wxBitmap *GetStipple() const;
|
|
|
|
#if FUTURE_WXWIN_COMPATIBILITY_3_0
|
|
wxDEPRECATED_FUTURE( void SetStyle(int style) )
|
|
{ SetStyle((wxBrushStyle)style); }
|
|
#endif
|
|
|
|
// wxCocoa
|
|
WX_NSColor GetNSColor();
|
|
|
|
protected:
|
|
wxGDIRefData *CreateGDIRefData() const;
|
|
wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
|
};
|
|
|
|
#endif // __WX_COCOA_BRUSH_H__
|