]>
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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
17 #pragma implementation "brush.h"
20 // ----------------------------------------------------------------------------
22 // ----------------------------------------------------------------------------
24 // For compilers that support precompilation, includes "wx.h".
25 #include "wx/wxprec.h"
38 // ----------------------------------------------------------------------------
40 // ----------------------------------------------------------------------------
42 // ============================================================================
43 // wxBrush implementation
44 // ============================================================================
46 IMPLEMENT_DYNAMIC_CLASS(wxBrush
, wxGDIObject
)
48 // ----------------------------------------------------------------------------
50 // ----------------------------------------------------------------------------
56 wxBrush::wxBrush(const wxColour
& col
, int style
)
60 wxBrush::wxBrush(const wxBitmap
& stipple
)
68 // ----------------------------------------------------------------------------
69 // wxBrush house keeping stuff
70 // ----------------------------------------------------------------------------
72 wxBrush
& wxBrush::operator=(const wxBrush
& brush
)
77 bool wxBrush::operator==(const wxBrush
& brush
) const
82 wxObjectRefData
*wxBrush::CreateRefData() const
87 wxObjectRefData
*wxBrush::CloneRefData(const wxObjectRefData
*data
) const
92 // ----------------------------------------------------------------------------
94 // ----------------------------------------------------------------------------
96 wxColour
wxBrush::GetColour() const
101 int wxBrush::GetStyle() const
106 wxBitmap
*wxBrush::GetStipple() const
111 WXHANDLE
wxBrush::GetResourceHandle() const
116 // ----------------------------------------------------------------------------
118 // ----------------------------------------------------------------------------
120 void wxBrush::SetColour(const wxColour
& col
)
124 void wxBrush::SetColour(unsigned char r
, unsigned char g
, unsigned char b
)
128 void wxBrush::SetStyle(int style
)
132 void wxBrush::SetStipple(const wxBitmap
& stipple
)