X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaaa6a06a25774c18d10bb8182cc1934ed0ed9aa..e0eedd681816255e89d4cb5725003f479eeb4133:/docs/latex/wx/colour.tex diff --git a/docs/latex/wx/colour.tex b/docs/latex/wx/colour.tex index 3ad00632db..2cd926e19a 100644 --- a/docs/latex/wx/colour.tex +++ b/docs/latex/wx/colour.tex @@ -11,6 +11,26 @@ Valid RGB values are in the range 0 to 255. \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + +\wxheading{Predefined objects} + +Objects: + +{\bf wxNullColour} + +Pointers: + +{\bf wxBLACK\\ +wxWHITE\\ +wxRED\\ +wxBLUE\\ +wxGREEN\\ +wxCYAN\\ +wxLIGHT\_GREY} + \wxheading{See also} \helpref{wxColourDatabase}{wxcolourdatabase}, \helpref{wxPen}{wxpen}, \helpref{wxBrush}{wxbrush},\rtfsp @@ -33,6 +53,10 @@ Constructs a colour from red, green and blue values. Constructs a colour object using a colour name listed in {\bf wxTheColourDatabase}. +\func{}{wxColour}{\param{const wxColour\&}{ colour}} + +Copy constructor. + \wxheading{Parameters} \docparam{red}{The red value.} @@ -43,10 +67,20 @@ listed in {\bf wxTheColourDatabase}. \docparam{colourName}{The colour name.} +\docparam{colour}{The colour to copy.} + \wxheading{See also} \helpref{wxColourDatabase}{wxcolourdatabase} +\pythonnote{Constructors supported by wxPython are:\par +\indented{2cm}{\begin{twocollist} +\twocolitem{{\bf wxColour(red=0, green=0, blue=0)}}{} +\twocolitem{{\bf wxNamedColour(name)}}{} +\end{twocollist}} +} + + \membersection{wxColour::Blue}\label{wxcolourblue} \constfunc{unsigned char}{Blue}{\void} @@ -106,18 +140,12 @@ Assignment operator, using a colour name to be found in the colour database. Tests the equality of two colours by comparing individual red, green blue colours. -TODO: this may be different on platforms other than Windows - no reference counting -is done on Windows. - \membersection{wxColour::operator $!=$}\label{wxcolourinequality} \func{bool}{operator $!=$}{\param{const wxColour\&}{ colour}} Tests the inequality of two colours by comparing individual red, green blue colours. -TODO: this may be different on platforms other than Windows - no reference counting -is done on Windows. - \section{\class{wxColourData}}\label{wxcolourdata} This class holds a variety of information related to colour dialogs. @@ -126,6 +154,10 @@ This class holds a variety of information related to colour dialogs. \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxColour}{wxcolour}, \helpref{wxColourDialog}{wxcolourdialog}, \helpref{wxColourDialog overview}{wxcolourdialogoverview} @@ -215,6 +247,10 @@ is only one instance of this class: {\bf wxTheColourDatabase}. \helpref{wxList}{wxlist}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Remarks} The colours in the standard database are as follows: