]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/pen.cpp
document On{Open,Save}Document()
[wxWidgets.git] / src / palmos / pen.cpp
CommitLineData
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
28static int wx2msPenStyle(int wx_style);
29
30IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject)
31
32wxPenRefData::wxPenRefData()
33{
34}
35
36wxPenRefData::wxPenRefData(const wxPenRefData& data)
37{
38}
39
40wxPenRefData::~wxPenRefData()
41{
42}
43
44// Pens
45
46wxPen::wxPen()
47{
48}
49
50wxPen::~wxPen()
51{
52}
53
54// Should implement Create
82cddbd9 55wxPen::wxPen(const wxColour& col, int Width, wxPenStyle Style)
ffecfa5a
JS
56{
57}
58
59wxPen::wxPen(const wxBitmap& stipple, int Width)
60{
61}
62
63bool wxPen::RealizeResource()
64{
65 return false;
66}
67
68WXHANDLE wxPen::GetResourceHandle() const
69{
70 return 0;
71}
72
73bool wxPen::FreeResource(bool WXUNUSED(force))
74{
75 return false;
76}
77
78bool wxPen::IsFree() const
79{
80 return false;
81}
82
ffecfa5a
JS
83void wxPen::SetColour(const wxColour& col)
84{
85}
86
1a1498c0 87void wxPen::SetColour(unsigned char r, unsigned char g, unsigned char b)
ffecfa5a
JS
88{
89}
90
91void wxPen::SetWidth(int Width)
92{
93}
94
82cddbd9 95void wxPen::SetStyle(wxPenStyle Style)
ffecfa5a
JS
96{
97}
98
99void wxPen::SetStipple(const wxBitmap& Stipple)
100{
101}
102
103void wxPen::SetDashes(int nb_dashes, const wxDash *Dash)
104{
105}
106
82cddbd9 107void wxPen::SetJoin(wxPenJoin Join)
ffecfa5a
JS
108{
109}
110
82cddbd9 111void wxPen::SetCap(wxPenCap Cap)
ffecfa5a
JS
112{
113}
6afc1b46
VZ
114
115wxGDIRefData *wxPen::CreateGDIRefData() const
116{
117 return new wxPenRefData();
118}
119
120wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const
121{
122 return new wxPenRefData(*wx_static_cast(const wxPenRefData *, data));
123}
124