]>
git.saurik.com Git - wxWidgets.git/blob - src/palmos/palette.cpp
   1 ///////////////////////////////////////////////////////////////////////////// 
   2 // Name:        src/palmos/palette.cpp 
   4 // Author:      William Osborne - minimal working wxPalmOS port 
   8 // Copyright:   (c) William Osborne 
   9 // Licence:     wxWindows licence 
  10 ///////////////////////////////////////////////////////////////////////////// 
  12 // For compilers that support precompilation, includes "wx.h". 
  13 #include "wx/wxprec.h" 
  21 #include "wx/palette.h" 
  26 #include "wx/palmos/private.h" 
  28 IMPLEMENT_DYNAMIC_CLASS(wxPalette
, wxGDIObject
) 
  35 wxPaletteRefData::wxPaletteRefData(void) 
  39 wxPaletteRefData::~wxPaletteRefData(void) 
  43 wxPalette::wxPalette(void) 
  47 wxPalette::wxPalette(int n
, const unsigned char *red
, const unsigned char *green
, const unsigned char *blue
) 
  51 wxPalette::~wxPalette(void) 
  55 bool wxPalette::FreeResource(bool WXUNUSED(force
)) 
  60 bool wxPalette::Create(int n
, const unsigned char *red
, const unsigned char *green
, const unsigned char *blue
) 
  65 int wxPalette::GetPixel(unsigned char red
, unsigned char green
, unsigned char blue
) const 
  70 bool wxPalette::GetRGB(int index
, unsigned char *red
, unsigned char *green
, unsigned char *blue
) const 
  75 void wxPalette::SetHPALETTE(WXHPALETTE pal
) 
  79 #endif // wxUSE_PALETTE