]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/brush.cpp
make it possible to create wxWindowDC for a hidden window
[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 #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 bool wxBrush::operator==(const wxBrush& brush) const
69 {
70 return false;
71 }
72
73 wxObjectRefData *wxBrush::CreateRefData() const
74 {
75 return NULL;
76 }
77
78 wxObjectRefData *wxBrush::CloneRefData(const wxObjectRefData *data) const
79 {
80 return NULL;
81 }
82
83 // ----------------------------------------------------------------------------
84 // wxBrush accessors
85 // ----------------------------------------------------------------------------
86
87 wxColour wxBrush::GetColour() const
88 {
89 return wxNullColour;
90 }
91
92 int wxBrush::GetStyle() const
93 {
94 return -1;
95 }
96
97 wxBitmap *wxBrush::GetStipple() const
98 {
99 return NULL;
100 }
101
102 WXHANDLE wxBrush::GetResourceHandle() const
103 {
104 return (WXHANDLE)0;
105 }
106
107 // ----------------------------------------------------------------------------
108 // wxBrush setters
109 // ----------------------------------------------------------------------------
110
111 void wxBrush::SetColour(const wxColour& col)
112 {
113 }
114
115 void wxBrush::SetColour(unsigned char r, unsigned char g, unsigned char b)
116 {
117 }
118
119 void wxBrush::SetStyle(int style)
120 {
121 }
122
123 void wxBrush::SetStipple(const wxBitmap& stipple)
124 {
125 }