]>
Commit | Line | Data |
---|---|---|
ffecfa5a JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: src/palmos/brush.cpp | |
3 | // Purpose: wxBrush | |
e2731512 | 4 | // Author: William Osborne - minimal working wxPalmOS port |
ffecfa5a JS |
5 | // Modified by: |
6 | // Created: 10/13/04 | |
e2731512 | 7 | // RCS-ID: $Id$ |
ffecfa5a JS |
8 | // Copyright: (c) William Osborne |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | // ============================================================================ | |
13 | // declarations | |
14 | // ============================================================================ | |
15 | ||
ffecfa5a JS |
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 | #endif // WX_PRECOMP | |
33 | ||
34 | // ---------------------------------------------------------------------------- | |
35 | // private classes | |
36 | // ---------------------------------------------------------------------------- | |
37 | ||
38 | // ============================================================================ | |
39 | // wxBrush implementation | |
40 | // ============================================================================ | |
41 | ||
42 | IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject) | |
43 | ||
44 | // ---------------------------------------------------------------------------- | |
45 | // wxBrush ctors/dtor | |
46 | // ---------------------------------------------------------------------------- | |
47 | ||
48 | wxBrush::wxBrush() | |
49 | { | |
50 | } | |
51 | ||
52 | wxBrush::wxBrush(const wxColour& col, int style) | |
53 | { | |
54 | } | |
55 | ||
56 | wxBrush::wxBrush(const wxBitmap& stipple) | |
57 | { | |
58 | } | |
59 | ||
60 | wxBrush::~wxBrush() | |
61 | { | |
62 | } | |
63 | ||
64 | // ---------------------------------------------------------------------------- | |
65 | // wxBrush house keeping stuff | |
66 | // ---------------------------------------------------------------------------- | |
67 | ||
68 | wxBrush& wxBrush::operator=(const wxBrush& brush) | |
69 | { | |
70 | return *this; | |
71 | } | |
72 | ||
73 | bool wxBrush::operator==(const wxBrush& brush) const | |
74 | { | |
75 | return FALSE; | |
76 | } | |
77 | ||
78 | wxObjectRefData *wxBrush::CreateRefData() const | |
79 | { | |
80 | return NULL; | |
81 | } | |
82 | ||
83 | wxObjectRefData *wxBrush::CloneRefData(const wxObjectRefData *data) const | |
84 | { | |
85 | return NULL; | |
86 | } | |
87 | ||
88 | // ---------------------------------------------------------------------------- | |
89 | // wxBrush accessors | |
90 | // ---------------------------------------------------------------------------- | |
91 | ||
92 | wxColour wxBrush::GetColour() const | |
93 | { | |
94 | return wxNullColour; | |
95 | } | |
96 | ||
97 | int wxBrush::GetStyle() const | |
98 | { | |
99 | return -1; | |
100 | } | |
101 | ||
102 | wxBitmap *wxBrush::GetStipple() const | |
103 | { | |
104 | return NULL; | |
105 | } | |
106 | ||
107 | WXHANDLE wxBrush::GetResourceHandle() const | |
108 | { | |
109 | return (WXHANDLE)0; | |
110 | } | |
111 | ||
112 | // ---------------------------------------------------------------------------- | |
113 | // wxBrush setters | |
114 | // ---------------------------------------------------------------------------- | |
115 | ||
116 | void wxBrush::SetColour(const wxColour& col) | |
117 | { | |
118 | } | |
119 | ||
120 | void wxBrush::SetColour(unsigned char r, unsigned char g, unsigned char b) | |
121 | { | |
122 | } | |
123 | ||
124 | void wxBrush::SetStyle(int style) | |
125 | { | |
126 | } | |
127 | ||
128 | void wxBrush::SetStipple(const wxBitmap& stipple) | |
129 | { | |
130 | } | |
131 | ||
132 |