]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/palmos/palette.cpp
Committed William Osborne's wxPalmOS port
[wxWidgets.git] / src / palmos / palette.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: palette.cpp
3// Purpose: wxPalette
4// Author: William Osborne
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 "palette.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#if wxUSE_PALETTE
24
25#ifndef WX_PRECOMP
26 #include "wx/palette.h"
27#endif
28
29#include "wx/palmos/private.h"
30
31IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject)
32
33/*
34 * Palette
35 *
36 */
37
38wxPaletteRefData::wxPaletteRefData(void)
39{
40}
41
42wxPaletteRefData::~wxPaletteRefData(void)
43{
44}
45
46wxPalette::wxPalette(void)
47{
48}
49
50wxPalette::wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue)
51{
52}
53
54wxPalette::~wxPalette(void)
55{
56}
57
58bool wxPalette::FreeResource(bool WXUNUSED(force))
59{
60 return false;
61}
62
63bool wxPalette::Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue)
64{
65 return false;
66}
67
68int wxPalette::GetPixel(const unsigned char red, const unsigned char green, const unsigned char blue) const
69{
70 return 0;
71}
72
73bool wxPalette::GetRGB(int index, unsigned char *red, unsigned char *green, unsigned char *blue) const
74{
75 return false;
76}
77
78void wxPalette::SetHPALETTE(WXHPALETTE pal)
79{
80}
81
82#endif // wxUSE_PALETTE
83