Files
wxWidgets/src/palmos/palette.cpp
Włodzimierz Skiba 88ef3a57a4 wxPalette unified. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 14:37:43 +00:00

79 lines
1.5 KiB
C++

/////////////////////////////////////////////////////////////////////////////
// Name: src/palmos/palette.cpp
// Purpose: wxPalette
// Author: William Osborne - minimal working wxPalmOS port
// Modified by:
// Created: 10/13/04
// RCS-ID: $Id$
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#if wxUSE_PALETTE
#ifndef WX_PRECOMP
#include "wx/palette.h"
#endif
#include "wx/palmos/private.h"
IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject)
/*
* Palette
*
*/
wxPaletteRefData::wxPaletteRefData(void)
{
}
wxPaletteRefData::~wxPaletteRefData(void)
{
}
wxPalette::wxPalette(void)
{
}
wxPalette::wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue)
{
}
wxPalette::~wxPalette(void)
{
}
bool wxPalette::FreeResource(bool WXUNUSED(force))
{
return false;
}
bool wxPalette::Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue)
{
return false;
}
int wxPalette::GetPixel(unsigned char red, unsigned char green, unsigned char blue) const
{
return wxNOT_FOUND;
}
bool wxPalette::GetRGB(int index, unsigned char *red, unsigned char *green, unsigned char *blue) const
{
return false;
}
void wxPalette::SetHPALETTE(WXHPALETTE pal)
{
}
#endif // wxUSE_PALETTE