A palette is a table that maps pixel values to RGB colours. It allows the colours
of a low-depth bitmap, for example, to be mapped to the available colours in a display.
-TODO: topic overview for wxPalette.
-
+%TODO: topic overview for wxPalette.
\wxheading{Derived from}
\helpref{wxGDIObject}{wxgdiobject}\\
\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/palette.h>
+
+\wxheading{Predefined objects}
+
+Objects:
+
+{\bf wxNullPalette}
+
\wxheading{See also}
\helpref{wxDC::SetPalette}{wxdcsetpalette}, \helpref{wxBitmap}{wxbitmap}
\helpref{wxPalette::Create}{wxpalettecreate}
+\perlnote{In wxPerl the third constructor form takes as parameters
+ 3 array references ( they must be of the same length ).}
+
\membersection{wxPalette::\destruct{wxPalette}}
\func{}{\destruct{wxPalette}}{\void}
\helpref{wxPalette::GetPixel}{wxpalettegetpixel}
+\perlnote{In wxPerl this method takes only the {\tt pixel} parameter and
+ returns a 3-element list ( or the empty list upon failure ).}
+
\membersection{wxPalette::Ok}\label{wxpaletteok}
\constfunc{bool}{Ok}{\void}