X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78b5edc51742946ff309e2fa86eeddeda41cfbfa..21d6b09b108dd8f4710cf260ee9f344b6bbad704:/docs/latex/wx/colour.tex diff --git a/docs/latex/wx/colour.tex b/docs/latex/wx/colour.tex index 00174d23da..4ba28808cd 100644 --- a/docs/latex/wx/colour.tex +++ b/docs/latex/wx/colour.tex @@ -64,7 +64,7 @@ Constructs a colour from red, green and blue values. \func{}{wxColour}{\param{const wxString\& }{colourNname}} -Constructs a colour using the given string. See \helpref{Set}{wxcolourset3} for more info. +Constructs a colour using the given string. See \helpref{Set}{wxcolourset} for more info. \func{}{wxColour}{\param{const wxColour\&}{ colour}} @@ -155,22 +155,13 @@ Returns the red intensity. \func{void}{Set}{\param{unsigned char}{ red}, \param{unsigned char}{ green}, \param{unsigned char}{ blue}} -Sets the RGB intensity values. - - -\membersection{wxColour::Set}\label{wxcolourset2} - \func{void}{Set}{\param{unsigned long}{ RGB}} -Sets the RGB intensity values extracting them from the packed long. - - -\membersection{wxColour::Set}\label{wxcolourset3} - \func{bool}{Set}{\param{const wxString \&}{ str}} -Sets the colour using the given string. -Accepts colour names (those listed in \helpref{wxTheColourDatabase}{wxcolourdatabase}), the CSS-like \texttt{``RGB(r,g,b)"} syntax (case insensitive) and the HTML-like syntax (i.e. \texttt{``\#"} followed by 6 hexadecimal digits for red, green, blue components). +Sets the RGB intensity values using the given values (first overload), extracting them from the packed long (second overload), using the given string (third overloard). + +When using third form, Set() accepts: colour names (those listed in \helpref{wxTheColourDatabase}{wxcolourdatabase}), the CSS-like \texttt{``RGB(r,g,b)"} syntax (case insensitive) and the HTML-like syntax (i.e. \texttt{``\#"} followed by 6 hexadecimal digits for red, green, blue components). Returns \true if the conversion was successful, \false otherwise.