1998-05-20 10:25:30 -04:00
|
|
|
\section{\class{wxColourDialog}}\label{wxcolourdialog}
|
|
|
|
|
|
|
|
This class represents the colour chooser dialog.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxDialog}{wxdialog}\\
|
|
|
|
\helpref{wxWindow}{wxwindow}\\
|
|
|
|
\helpref{wxEvtHandler}{wxevthandler}\\
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
1999-02-15 15:41:29 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/colordlg.h>
|
|
|
|
|
1998-05-20 10:25:30 -04:00
|
|
|
\wxheading{See also}
|
|
|
|
|
2002-01-21 12:52:01 -05:00
|
|
|
\helpref{wxColourDialog Overview}{wxcolourdialogoverview},\\
|
|
|
|
\helpref{wxColour}{wxcolour},\\
|
|
|
|
\helpref{wxColourData}{wxcolourdata},\\
|
|
|
|
\helpref{wxGetColourFromUser}{wxgetcolourfromuser}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxColourDialog::wxColourDialog}\label{wxcolourdialogctor}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{}{wxColourDialog}{\param{wxWindow* }{parent}, \param{wxColourData* }{data = NULL}}
|
|
|
|
|
|
|
|
Constructor. Pass a parent window, and optionally a pointer to a block of colour
|
2004-06-04 12:03:03 -04:00
|
|
|
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).
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{wxColourData}{wxcolourdata}
|
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxColourDialog::\destruct{wxColourDialog}}\label{wxcolourdialogdtor}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{}{\destruct{wxColourDialog}}{\void}
|
|
|
|
|
|
|
|
Destructor.
|
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxColourDialog::Create}\label{wxcolourdialogcreate}
|
2000-07-15 15:51:35 -04:00
|
|
|
|
|
|
|
\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxColourData* }{data = NULL}}
|
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
Same as \helpref{constructor}{wxcolourdialogctor}.
|
2000-07-15 15:51:35 -04:00
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxColourDialog::GetColourData}\label{wxcolourdialoggetcolourdata}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{wxColourData\&}{GetColourData}{\void}
|
|
|
|
|
|
|
|
Returns the \helpref{colour data}{wxcolourdata} associated with the colour dialog.
|
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxColourDialog::ShowModal}\label{wxcolourdialogshowmodal}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{int}{ShowModal}{\void}
|
|
|
|
|
2004-10-04 12:11:04 -04:00
|
|
|
Shows the dialog, returning wxID\_OK if the user pressed OK, and wxID\_CANCEL
|
1998-05-20 10:25:30 -04:00
|
|
|
otherwise.
|
|
|
|
|
|
|
|
|