X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..9bf6a1b80cb856903e15387ebecc926142e73010:/docs/latex/wx/colordlg.tex diff --git a/docs/latex/wx/colordlg.tex b/docs/latex/wx/colordlg.tex index 332f344a02..3b754802e9 100644 --- a/docs/latex/wx/colordlg.tex +++ b/docs/latex/wx/colordlg.tex @@ -5,44 +5,66 @@ This class represents the colour chooser dialog. \wxheading{Derived from} \helpref{wxDialog}{wxdialog}\\ +\helpref{wxTopLevelWindow}{wxtoplevelwindow}\\ \helpref{wxWindow}{wxwindow}\\ \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} -\helpref{wxColourDialog Overview}{wxcolourdialogoverview}, \helpref{wxColour}{wxcolour}, \helpref{wxColourData}{wxcolourdata} +\helpref{wxColourDialog Overview}{wxcolourdialogoverview},\\ +\helpref{wxColour}{wxcolour},\\ +\helpref{wxColourData}{wxcolourdata},\\ +\helpref{wxGetColourFromUser}{wxgetcolourfromuser} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxColourDialog::wxColourDialog} +\membersection{wxColourDialog::wxColourDialog}\label{wxcolourdialogctor} \func{}{wxColourDialog}{\param{wxWindow* }{parent}, \param{wxColourData* }{data = NULL}} Constructor. Pass a parent window, and optionally a pointer to a block of colour -data, which will be copied to the colour dialog's colour data. +data, which will be copied to the colour dialog's colour data. Custom +colours from colour data object will be be used in dialog's colour palette. +Invalid entries in custom colours list will be ignored on some platforms (GTK) +or replaced with white colour on platforms where custom colours palette has +fixed size (MSW). \wxheading{See also} \helpref{wxColourData}{wxcolourdata} -\membersection{wxColourDialog::\destruct{wxColourDialog}} +\membersection{wxColourDialog::\destruct{wxColourDialog}}\label{wxcolourdialogdtor} \func{}{\destruct{wxColourDialog}}{\void} Destructor. -\membersection{wxColourDialog::GetColourData} +\membersection{wxColourDialog::Create}\label{wxcolourdialogcreate} + +\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxColourData* }{data = NULL}} + +Same as \helpref{constructor}{wxcolourdialogctor}. + +\membersection{wxColourDialog::GetColourData}\label{wxcolourdialoggetcolourdata} \func{wxColourData\&}{GetColourData}{\void} Returns the \helpref{colour data}{wxcolourdata} associated with the colour dialog. -\membersection{wxColourDialog::ShowModal} +\membersection{wxColourDialog::ShowModal}\label{wxcolourdialogshowmodal} \func{int}{ShowModal}{\void} -Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL +Shows the dialog, returning wxID\_OK if the user pressed OK, and wxID\_CANCEL otherwise.