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