]>
Commit | Line | Data |
---|---|---|
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 | ||
559a723c WS |
21 | #include "wx/palette.h" |
22 | ||
ffecfa5a | 23 | #ifndef WX_PRECOMP |
ffecfa5a JS |
24 | #endif |
25 | ||
26 | #include "wx/palmos/private.h" | |
27 | ||
28 | IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject) | |
29 | ||
30 | /* | |
31 | * Palette | |
32 | * | |
33 | */ | |
34 | ||
35 | wxPaletteRefData::wxPaletteRefData(void) | |
36 | { | |
37 | } | |
38 | ||
39 | wxPaletteRefData::~wxPaletteRefData(void) | |
40 | { | |
41 | } | |
42 | ||
43 | wxPalette::wxPalette(void) | |
44 | { | |
45 | } | |
46 | ||
47 | wxPalette::wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue) | |
48 | { | |
49 | } | |
50 | ||
51 | wxPalette::~wxPalette(void) | |
52 | { | |
53 | } | |
54 | ||
55 | bool wxPalette::FreeResource(bool WXUNUSED(force)) | |
56 | { | |
57 | return false; | |
58 | } | |
59 | ||
60 | bool wxPalette::Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue) | |
61 | { | |
62 | return false; | |
63 | } | |
64 | ||
88ef3a57 | 65 | int wxPalette::GetPixel(unsigned char red, unsigned char green, unsigned char blue) const |
ffecfa5a | 66 | { |
88ef3a57 | 67 | return wxNOT_FOUND; |
ffecfa5a JS |
68 | } |
69 | ||
70 | bool wxPalette::GetRGB(int index, unsigned char *red, unsigned char *green, unsigned char *blue) const | |
71 | { | |
72 | return false; | |
73 | } | |
74 | ||
75 | void wxPalette::SetHPALETTE(WXHPALETTE pal) | |
76 | { | |
77 | } | |
78 | ||
79 | #endif // wxUSE_PALETTE |