]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/palette.cpp
wxOS2 warning fixes after daily build log.
[wxWidgets.git] / src / palmos / palette.cpp
CommitLineData
ffecfa5a 1/////////////////////////////////////////////////////////////////////////////
e2731512 2// Name: src/palmos/palette.cpp
ffecfa5a 3// Purpose: wxPalette
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__
16 #pragma hdrstop
17#endif
18
19#if wxUSE_PALETTE
20
21#ifndef WX_PRECOMP
22 #include "wx/palette.h"
23#endif
24
25#include "wx/palmos/private.h"
26
27IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject)
28
29/*
30 * Palette
31 *
32 */
33
34wxPaletteRefData::wxPaletteRefData(void)
35{
36}
37
38wxPaletteRefData::~wxPaletteRefData(void)
39{
40}
41
42wxPalette::wxPalette(void)
43{
44}
45
46wxPalette::wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue)
47{
48}
49
50wxPalette::~wxPalette(void)
51{
52}
53
54bool wxPalette::FreeResource(bool WXUNUSED(force))
55{
56 return false;
57}
58
59bool wxPalette::Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue)
60{
61 return false;
62}
63
88ef3a57 64int wxPalette::GetPixel(unsigned char red, unsigned char green, unsigned char blue) const
ffecfa5a 65{
88ef3a57 66 return wxNOT_FOUND;
ffecfa5a
JS
67}
68
69bool wxPalette::GetRGB(int index, unsigned char *red, unsigned char *green, unsigned char *blue) const
70{
71 return false;
72}
73
74void wxPalette::SetHPALETTE(WXHPALETTE pal)
75{
76}
77
78#endif // wxUSE_PALETTE