X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaaa6a06a25774c18d10bb8182cc1934ed0ed9aa..34bbbc276dc470014c8d200cfbbf7f588076aeaf:/docs/latex/wx/palette.tex diff --git a/docs/latex/wx/palette.tex b/docs/latex/wx/palette.tex index 14134b38da..7f8c2cc6f0 100644 --- a/docs/latex/wx/palette.tex +++ b/docs/latex/wx/palette.tex @@ -3,13 +3,22 @@ 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} + + + +\wxheading{Predefined objects} + +Objects: + +{\bf wxNullPalette} + \wxheading{See also} \helpref{wxDC::SetPalette}{wxdcsetpalette}, \helpref{wxBitmap}{wxbitmap} @@ -26,10 +35,6 @@ Default constructor. Copy constructor. This uses reference counting so is a cheap operation. -\func{}{wxPalette}{\param{const wxPalette*}{ palette}} - -Copy constructor. This uses reference counting so is a cheap operation. - \func{}{wxPalette}{\param{int}{ n}, \param{const unsigned char* }{red},\\ \param{const unsigned char* }{green}, \param{const unsigned char* }{blue}} @@ -52,6 +57,9 @@ red, blue or green component. \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} @@ -132,6 +140,9 @@ TRUE if the operation was successful. \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}