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