]>
Commit | Line | Data |
---|---|---|
ffecfa5a | 1 | ///////////////////////////////////////////////////////////////////////////// |
e2731512 | 2 | // Name: src/palmos/pen.cpp |
ffecfa5a | 3 | // Purpose: wxPen |
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 | ||
ffecfa5a JS |
12 | // For compilers that support precompilation, includes "wx.h". |
13 | #include "wx/wxprec.h" | |
14 | ||
15 | #ifdef __BORLANDC__ | |
f5590243 | 16 | #pragma hdrstop |
ffecfa5a JS |
17 | #endif |
18 | ||
f5590243 WS |
19 | #include "wx/pen.h" |
20 | ||
ffecfa5a | 21 | #ifndef WX_PRECOMP |
521bf4ff WS |
22 | #include <stdio.h> |
23 | #include "wx/list.h" | |
24 | #include "wx/utils.h" | |
25 | #include "wx/app.h" | |
ffecfa5a JS |
26 | #endif |
27 | ||
28 | static int wx2msPenStyle(int wx_style); | |
29 | ||
30 | IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject) | |
31 | ||
32 | wxPenRefData::wxPenRefData() | |
33 | { | |
34 | } | |
35 | ||
36 | wxPenRefData::wxPenRefData(const wxPenRefData& data) | |
37 | { | |
38 | } | |
39 | ||
40 | wxPenRefData::~wxPenRefData() | |
41 | { | |
42 | } | |
43 | ||
44 | // Pens | |
45 | ||
46 | wxPen::wxPen() | |
47 | { | |
48 | } | |
49 | ||
50 | wxPen::~wxPen() | |
51 | { | |
52 | } | |
53 | ||
54 | // Should implement Create | |
82cddbd9 | 55 | wxPen::wxPen(const wxColour& col, int Width, wxPenStyle Style) |
ffecfa5a JS |
56 | { |
57 | } | |
58 | ||
59 | wxPen::wxPen(const wxBitmap& stipple, int Width) | |
60 | { | |
61 | } | |
62 | ||
63 | bool wxPen::RealizeResource() | |
64 | { | |
65 | return false; | |
66 | } | |
67 | ||
68 | WXHANDLE wxPen::GetResourceHandle() const | |
69 | { | |
70 | return 0; | |
71 | } | |
72 | ||
73 | bool wxPen::FreeResource(bool WXUNUSED(force)) | |
74 | { | |
75 | return false; | |
76 | } | |
77 | ||
78 | bool wxPen::IsFree() const | |
79 | { | |
80 | return false; | |
81 | } | |
82 | ||
ffecfa5a JS |
83 | void wxPen::SetColour(const wxColour& col) |
84 | { | |
85 | } | |
86 | ||
1a1498c0 | 87 | void wxPen::SetColour(unsigned char r, unsigned char g, unsigned char b) |
ffecfa5a JS |
88 | { |
89 | } | |
90 | ||
91 | void wxPen::SetWidth(int Width) | |
92 | { | |
93 | } | |
94 | ||
82cddbd9 | 95 | void wxPen::SetStyle(wxPenStyle Style) |
ffecfa5a JS |
96 | { |
97 | } | |
98 | ||
99 | void wxPen::SetStipple(const wxBitmap& Stipple) | |
100 | { | |
101 | } | |
102 | ||
103 | void wxPen::SetDashes(int nb_dashes, const wxDash *Dash) | |
104 | { | |
105 | } | |
106 | ||
82cddbd9 | 107 | void wxPen::SetJoin(wxPenJoin Join) |
ffecfa5a JS |
108 | { |
109 | } | |
110 | ||
82cddbd9 | 111 | void wxPen::SetCap(wxPenCap Cap) |
ffecfa5a JS |
112 | { |
113 | } | |
6afc1b46 VZ |
114 | |
115 | wxGDIRefData *wxPen::CreateGDIRefData() const | |
116 | { | |
117 | return new wxPenRefData(); | |
118 | } | |
119 | ||
120 | wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const | |
121 | { | |
122 | return new wxPenRefData(*wx_static_cast(const wxPenRefData *, data)); | |
123 | } | |
124 |