]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/brush.cpp
implement wxGTK wxBitmapButton in terms of wxButton
[wxWidgets.git] / src / palmos / brush.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/brush.cpp
3 // Purpose: wxBrush
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 #ifndef WX_PRECOMP
28 #include "wx/list.h"
29 #include "wx/utils.h"
30 #include "wx/app.h"
31 #include "wx/brush.h"
32 #include "wx/colour.h"
33 #endif // WX_PRECOMP
34
35 // ----------------------------------------------------------------------------
36 // private classes
37 // ----------------------------------------------------------------------------
38
39 // ============================================================================
40 // wxBrush implementation
41 // ============================================================================
42
43 IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject)
44
45 // ----------------------------------------------------------------------------
46 // wxBrush ctors/dtor
47 // ----------------------------------------------------------------------------
48
49 wxBrush::wxBrush()
50 {
51 }
52
53 wxBrush::wxBrush(const wxColour& col, wxBrushStyle style)
54 {
55 }
56
57 wxBrush::wxBrush(const wxBitmap& stipple)
58 {
59 }
60
61 wxBrush::~wxBrush()
62 {
63 }
64
65 // ----------------------------------------------------------------------------
66 // wxBrush house keeping stuff
67 // ----------------------------------------------------------------------------
68
69 bool wxBrush::operator==(const wxBrush& brush) const
70 {
71 return false;
72 }
73
74 wxGDIRefData *wxBrush::CreateGDIRefData() const
75 {
76 return NULL;
77 }
78
79 wxGDIRefData *wxBrush::CloneGDIRefData(const wxGDIRefData *data) const
80 {
81 return NULL;
82 }
83
84 // ----------------------------------------------------------------------------
85 // wxBrush accessors
86 // ----------------------------------------------------------------------------
87
88 wxColour wxBrush::GetColour() const
89 {
90 return wxNullColour;
91 }
92
93 wxBrushStyle wxBrush::GetStyle() const
94 {
95 return -1;
96 }
97
98 wxBitmap *wxBrush::GetStipple() const
99 {
100 return NULL;
101 }
102
103 WXHANDLE wxBrush::GetResourceHandle() const
104 {
105 return (WXHANDLE)0;
106 }
107
108 // ----------------------------------------------------------------------------
109 // wxBrush setters
110 // ----------------------------------------------------------------------------
111
112 void wxBrush::SetColour(const wxColour& WXUNUSED(col))
113 {
114 }
115
116 void wxBrush::SetColour(unsigned char WXUNUSED(r), unsigned char WXUNUSED(g), unsigned char WXUNUSED(b))
117 {
118 }
119
120 void wxBrush::SetStyle(wxBrushStyle WXUNUSED(style))
121 {
122 }
123
124 void wxBrush::SetStipple(const wxBitmap& WXUNUSED(stipple))
125 {
126 }