replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
[wxWidgets.git] / src / palmos / pen.cpp
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 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
14
15 #ifdef __BORLANDC__
16 #pragma hdrstop
17 #endif
18
19 #include "wx/pen.h"
20
21 #ifndef WX_PRECOMP
22 #include <stdio.h>
23 #include "wx/list.h"
24 #include "wx/utils.h"
25 #include "wx/app.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, wxPenStyle 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::SetColour(const wxColour& col)
84 {
85 }
86
87 void wxPen::SetColour(unsigned char r, unsigned char g, unsigned char b)
88 {
89 }
90
91 void wxPen::SetWidth(int Width)
92 {
93 }
94
95 void wxPen::SetStyle(wxPenStyle Style)
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
107 void wxPen::SetJoin(wxPenJoin Join)
108 {
109 }
110
111 void wxPen::SetCap(wxPenCap Cap)
112 {
113 }
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(*static_cast<const wxPenRefData *>(data));
123 }
124