]>
git.saurik.com Git - wxWidgets.git/blob - src/palmos/brush.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/brush.cpp
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // ============================================================================
14 // ============================================================================
16 // ----------------------------------------------------------------------------
18 // ----------------------------------------------------------------------------
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
34 // ----------------------------------------------------------------------------
36 // ----------------------------------------------------------------------------
38 // ============================================================================
39 // wxBrush implementation
40 // ============================================================================
42 IMPLEMENT_DYNAMIC_CLASS(wxBrush
, wxGDIObject
)
44 // ----------------------------------------------------------------------------
46 // ----------------------------------------------------------------------------
52 wxBrush::wxBrush(const wxColour
& col
, int style
)
56 wxBrush::wxBrush(const wxBitmap
& stipple
)
64 // ----------------------------------------------------------------------------
65 // wxBrush house keeping stuff
66 // ----------------------------------------------------------------------------
68 wxBrush
& wxBrush::operator=(const wxBrush
& brush
)
73 bool wxBrush::operator==(const wxBrush
& brush
) const
78 wxObjectRefData
*wxBrush::CreateRefData() const
83 wxObjectRefData
*wxBrush::CloneRefData(const wxObjectRefData
*data
) const
88 // ----------------------------------------------------------------------------
90 // ----------------------------------------------------------------------------
92 wxColour
wxBrush::GetColour() const
97 int wxBrush::GetStyle() const
102 wxBitmap
*wxBrush::GetStipple() const
107 WXHANDLE
wxBrush::GetResourceHandle() const
112 // ----------------------------------------------------------------------------
114 // ----------------------------------------------------------------------------
116 void wxBrush::SetColour(const wxColour
& col
)
120 void wxBrush::SetColour(const unsigned char r
, const unsigned char g
, const unsigned char b
)
124 void wxBrush::SetStyle(int style
)
128 void wxBrush::SetStipple(const wxBitmap
& stipple
)