| 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 | #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) |
| 17 | #pragma implementation "brush.h" |
| 18 | #endif |
| 19 | |
| 20 | // ---------------------------------------------------------------------------- |
| 21 | // headers |
| 22 | // ---------------------------------------------------------------------------- |
| 23 | |
| 24 | // For compilers that support precompilation, includes "wx.h". |
| 25 | #include "wx/wxprec.h" |
| 26 | |
| 27 | #ifdef __BORLANDC__ |
| 28 | #pragma hdrstop |
| 29 | #endif |
| 30 | |
| 31 | #ifndef WX_PRECOMP |
| 32 | #include "wx/list.h" |
| 33 | #include "wx/utils.h" |
| 34 | #include "wx/app.h" |
| 35 | #include "wx/brush.h" |
| 36 | #endif // WX_PRECOMP |
| 37 | |
| 38 | // ---------------------------------------------------------------------------- |
| 39 | // private classes |
| 40 | // ---------------------------------------------------------------------------- |
| 41 | |
| 42 | // ============================================================================ |
| 43 | // wxBrush implementation |
| 44 | // ============================================================================ |
| 45 | |
| 46 | IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject) |
| 47 | |
| 48 | // ---------------------------------------------------------------------------- |
| 49 | // wxBrush ctors/dtor |
| 50 | // ---------------------------------------------------------------------------- |
| 51 | |
| 52 | wxBrush::wxBrush() |
| 53 | { |
| 54 | } |
| 55 | |
| 56 | wxBrush::wxBrush(const wxColour& col, int style) |
| 57 | { |
| 58 | } |
| 59 | |
| 60 | wxBrush::wxBrush(const wxBitmap& stipple) |
| 61 | { |
| 62 | } |
| 63 | |
| 64 | wxBrush::~wxBrush() |
| 65 | { |
| 66 | } |
| 67 | |
| 68 | // ---------------------------------------------------------------------------- |
| 69 | // wxBrush house keeping stuff |
| 70 | // ---------------------------------------------------------------------------- |
| 71 | |
| 72 | wxBrush& wxBrush::operator=(const wxBrush& brush) |
| 73 | { |
| 74 | return *this; |
| 75 | } |
| 76 | |
| 77 | bool wxBrush::operator==(const wxBrush& brush) const |
| 78 | { |
| 79 | return FALSE; |
| 80 | } |
| 81 | |
| 82 | wxObjectRefData *wxBrush::CreateRefData() const |
| 83 | { |
| 84 | return NULL; |
| 85 | } |
| 86 | |
| 87 | wxObjectRefData *wxBrush::CloneRefData(const wxObjectRefData *data) const |
| 88 | { |
| 89 | return NULL; |
| 90 | } |
| 91 | |
| 92 | // ---------------------------------------------------------------------------- |
| 93 | // wxBrush accessors |
| 94 | // ---------------------------------------------------------------------------- |
| 95 | |
| 96 | wxColour wxBrush::GetColour() const |
| 97 | { |
| 98 | return wxNullColour; |
| 99 | } |
| 100 | |
| 101 | int wxBrush::GetStyle() const |
| 102 | { |
| 103 | return -1; |
| 104 | } |
| 105 | |
| 106 | wxBitmap *wxBrush::GetStipple() const |
| 107 | { |
| 108 | return NULL; |
| 109 | } |
| 110 | |
| 111 | WXHANDLE wxBrush::GetResourceHandle() const |
| 112 | { |
| 113 | return (WXHANDLE)0; |
| 114 | } |
| 115 | |
| 116 | // ---------------------------------------------------------------------------- |
| 117 | // wxBrush setters |
| 118 | // ---------------------------------------------------------------------------- |
| 119 | |
| 120 | void wxBrush::SetColour(const wxColour& col) |
| 121 | { |
| 122 | } |
| 123 | |
| 124 | void wxBrush::SetColour(unsigned char r, unsigned char g, unsigned char b) |
| 125 | { |
| 126 | } |
| 127 | |
| 128 | void wxBrush::SetStyle(int style) |
| 129 | { |
| 130 | } |
| 131 | |
| 132 | void wxBrush::SetStipple(const wxBitmap& stipple) |
| 133 | { |
| 134 | } |
| 135 | |
| 136 | |