]>
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 | |
20 | #include <stdio.h> | |
21 | #include "wx/setup.h" | |
22 | #include "wx/list.h" | |
23 | #include "wx/utils.h" | |
24 | #include "wx/app.h" | |
25 | #include "wx/pen.h" | |
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 | |
55 | wxPen::wxPen(const wxColour& col, int Width, int Style) | |
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 | ||
83 | void wxPen::Unshare() | |
84 | { | |
85 | } | |
86 | ||
87 | void wxPen::SetColour(const wxColour& col) | |
88 | { | |
89 | } | |
90 | ||
1a1498c0 | 91 | void wxPen::SetColour(unsigned char r, unsigned char g, unsigned char b) |
ffecfa5a JS |
92 | { |
93 | } | |
94 | ||
95 | void wxPen::SetWidth(int Width) | |
96 | { | |
97 | } | |
98 | ||
99 | void wxPen::SetStyle(int Style) | |
100 | { | |
101 | } | |
102 | ||
103 | void wxPen::SetStipple(const wxBitmap& Stipple) | |
104 | { | |
105 | } | |
106 | ||
107 | void wxPen::SetDashes(int nb_dashes, const wxDash *Dash) | |
108 | { | |
109 | } | |
110 | ||
111 | void wxPen::SetJoin(int Join) | |
112 | { | |
113 | } | |
114 | ||
115 | void wxPen::SetCap(int Cap) | |
116 | { | |
117 | } |