git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
123 lines
1.8 KiB
C++
123 lines
1.8 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: src/palmos/pen.cpp
|
|
// Purpose: wxPen
|
|
// Author: William Osborne - minimal working wxPalmOS port
|
|
// Modified by:
|
|
// Created: 10/13/04
|
|
// RCS-ID: $Id$
|
|
// Copyright: (c) William Osborne
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
|
#pragma implementation "pen.h"
|
|
#endif
|
|
|
|
// For compilers that support precompilation, includes "wx.h".
|
|
#include "wx/wxprec.h"
|
|
|
|
#ifdef __BORLANDC__
|
|
#pragma hdrstop
|
|
#endif
|
|
|
|
#ifndef WX_PRECOMP
|
|
#include <stdio.h>
|
|
#include "wx/setup.h"
|
|
#include "wx/list.h"
|
|
#include "wx/utils.h"
|
|
#include "wx/app.h"
|
|
#include "wx/pen.h"
|
|
#endif
|
|
|
|
static int wx2msPenStyle(int wx_style);
|
|
|
|
IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject)
|
|
|
|
wxPenRefData::wxPenRefData()
|
|
{
|
|
}
|
|
|
|
wxPenRefData::wxPenRefData(const wxPenRefData& data)
|
|
{
|
|
}
|
|
|
|
wxPenRefData::~wxPenRefData()
|
|
{
|
|
}
|
|
|
|
// Pens
|
|
|
|
wxPen::wxPen()
|
|
{
|
|
}
|
|
|
|
wxPen::~wxPen()
|
|
{
|
|
}
|
|
|
|
// Should implement Create
|
|
wxPen::wxPen(const wxColour& col, int Width, int Style)
|
|
{
|
|
}
|
|
|
|
wxPen::wxPen(const wxBitmap& stipple, int Width)
|
|
{
|
|
}
|
|
|
|
bool wxPen::RealizeResource()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
WXHANDLE wxPen::GetResourceHandle() const
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
bool wxPen::FreeResource(bool WXUNUSED(force))
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool wxPen::IsFree() const
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void wxPen::Unshare()
|
|
{
|
|
}
|
|
|
|
void wxPen::SetColour(const wxColour& col)
|
|
{
|
|
}
|
|
|
|
void wxPen::SetColour(unsigned char r, unsigned char g, unsigned char b)
|
|
{
|
|
}
|
|
|
|
void wxPen::SetWidth(int Width)
|
|
{
|
|
}
|
|
|
|
void wxPen::SetStyle(int Style)
|
|
{
|
|
}
|
|
|
|
void wxPen::SetStipple(const wxBitmap& Stipple)
|
|
{
|
|
}
|
|
|
|
void wxPen::SetDashes(int nb_dashes, const wxDash *Dash)
|
|
{
|
|
}
|
|
|
|
void wxPen::SetJoin(int Join)
|
|
{
|
|
}
|
|
|
|
void wxPen::SetCap(int Cap)
|
|
{
|
|
}
|
|
|