]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/brush.cpp
Add backend descriptions for all backends to the documentation.
[wxWidgets.git] / src / palmos / brush.cpp
CommitLineData
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"
15495b26 32 #include "wx/colour.h"
ffecfa5a
JS
33#endif // WX_PRECOMP
34
35// ----------------------------------------------------------------------------
36// private classes
37// ----------------------------------------------------------------------------
38
39// ============================================================================
40// wxBrush implementation
41// ============================================================================
42
43IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject)
44
45// ----------------------------------------------------------------------------
46// wxBrush ctors/dtor
47// ----------------------------------------------------------------------------
48
49wxBrush::wxBrush()
50{
51}
52
3e6858cd 53wxBrush::wxBrush(const wxColour& col, wxBrushStyle style)
ffecfa5a
JS
54{
55}
56
57wxBrush::wxBrush(const wxBitmap& stipple)
58{
59}
60
61wxBrush::~wxBrush()
62{
63}
64
65// ----------------------------------------------------------------------------
66// wxBrush house keeping stuff
67// ----------------------------------------------------------------------------
68
ffecfa5a
JS
69bool wxBrush::operator==(const wxBrush& brush) const
70{
46562151 71 return false;
ffecfa5a
JS
72}
73
8f884a0d 74wxGDIRefData *wxBrush::CreateGDIRefData() const
ffecfa5a
JS
75{
76 return NULL;
77}
78
8f884a0d 79wxGDIRefData *wxBrush::CloneGDIRefData(const wxGDIRefData *data) const
ffecfa5a
JS
80{
81 return NULL;
82}
83
84// ----------------------------------------------------------------------------
85// wxBrush accessors
86// ----------------------------------------------------------------------------
87
88wxColour wxBrush::GetColour() const
89{
90 return wxNullColour;
91}
92
3e6858cd 93wxBrushStyle wxBrush::GetStyle() const
ffecfa5a
JS
94{
95 return -1;
96}
97
98wxBitmap *wxBrush::GetStipple() const
99{
100 return NULL;
101}
102
103WXHANDLE wxBrush::GetResourceHandle() const
104{
105 return (WXHANDLE)0;
106}
107
108// ----------------------------------------------------------------------------
109// wxBrush setters
110// ----------------------------------------------------------------------------
111
15495b26 112void wxBrush::SetColour(const wxColour& WXUNUSED(col))
ffecfa5a
JS
113{
114}
115
15495b26 116void wxBrush::SetColour(unsigned char WXUNUSED(r), unsigned char WXUNUSED(g), unsigned char WXUNUSED(b))
ffecfa5a
JS
117{
118}
119
3e6858cd 120void wxBrush::SetStyle(wxBrushStyle WXUNUSED(style))
ffecfa5a
JS
121{
122}
123
15495b26 124void wxBrush::SetStipple(const wxBitmap& WXUNUSED(stipple))
ffecfa5a
JS
125{
126}