]>
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"
32 #include "wx/colour.h"
35 // ----------------------------------------------------------------------------
37 // ----------------------------------------------------------------------------
39 // ============================================================================
40 // wxBrush implementation
41 // ============================================================================
43 IMPLEMENT_DYNAMIC_CLASS(wxBrush
, wxGDIObject
)
45 // ----------------------------------------------------------------------------
47 // ----------------------------------------------------------------------------
53 wxBrush::wxBrush(const wxColour
& col
, int style
)
57 wxBrush::wxBrush(const wxBitmap
& stipple
)
65 // ----------------------------------------------------------------------------
66 // wxBrush house keeping stuff
67 // ----------------------------------------------------------------------------
69 bool wxBrush::operator==(const wxBrush
& brush
) const
74 wxGDIRefData
*wxBrush::CreateGDIRefData() const
79 wxGDIRefData
*wxBrush::CloneGDIRefData(const wxGDIRefData
*data
) const
84 // ----------------------------------------------------------------------------
86 // ----------------------------------------------------------------------------
88 wxColour
wxBrush::GetColour() const
93 int wxBrush::GetStyle() const
98 wxBitmap
*wxBrush::GetStipple() const
103 WXHANDLE
wxBrush::GetResourceHandle() const
108 // ----------------------------------------------------------------------------
110 // ----------------------------------------------------------------------------
112 void wxBrush::SetColour(const wxColour
& WXUNUSED(col
))
116 void wxBrush::SetColour(unsigned char WXUNUSED(r
), unsigned char WXUNUSED(g
), unsigned char WXUNUSED(b
))
120 void wxBrush::SetStyle(int WXUNUSED(style
))
124 void wxBrush::SetStipple(const wxBitmap
& WXUNUSED(stipple
))