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