X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b6aa0ff15be125c6f5f641e586002ec0c0330a2..42bf070c7e17428344b476fdb500ab85f0b753df:/docs/latex/wx/palette.tex diff --git a/docs/latex/wx/palette.tex b/docs/latex/wx/palette.tex index 90738536ca..f2192f5efe 100644 --- a/docs/latex/wx/palette.tex +++ b/docs/latex/wx/palette.tex @@ -9,6 +9,16 @@ of a low-depth bitmap, for example, to be mapped to the available colours in a d \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} @@ -47,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} @@ -73,7 +86,7 @@ red, blue or green component. \wxheading{Return value} -TRUE if the creation was successful, FALSE otherwise. +true if the creation was successful, false otherwise. \wxheading{See also} @@ -121,17 +134,20 @@ Returns RGB values for a given palette index. \wxheading{Return value} -TRUE if the operation was successful. +true if the operation was successful. \wxheading{See also} \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} -Returns TRUE if palette data is present. +Returns true if palette data is present. \membersection{wxPalette::operator $=$}\label{wxpaletteassignment}