]>
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 bool wxBrush::operator==(const wxBrush
& brush
) const
73 wxObjectRefData
*wxBrush::CreateRefData() const
78 wxObjectRefData
*wxBrush::CloneRefData(const wxObjectRefData
*data
) const
83 // ----------------------------------------------------------------------------
85 // ----------------------------------------------------------------------------
87 wxColour
wxBrush::GetColour() const
92 int wxBrush::GetStyle() const
97 wxBitmap
*wxBrush::GetStipple() const
102 WXHANDLE
wxBrush::GetResourceHandle() const
107 // ----------------------------------------------------------------------------
109 // ----------------------------------------------------------------------------
111 void wxBrush::SetColour(const wxColour
& col
)
115 void wxBrush::SetColour(unsigned char r
, unsigned char g
, unsigned char b
)
119 void wxBrush::SetStyle(int style
)
123 void wxBrush::SetStipple(const wxBitmap
& stipple
)