-public:
- wxPalette(void);
- inline wxPalette(const wxPalette& palette) { Ref(palette); }
- inline wxPalette(const wxPalette* palette) { /* UnRef(); */ if (palette) Ref(*palette); }
-
- wxPalette(const int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
- ~wxPalette(void);
- bool Create(const int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
- int GetPixel(const unsigned char red, const unsigned char green, const unsigned char blue) const;
- bool GetRGB(const int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const;