2001-07-04 21:26:15 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2011-01-07 00:26:57 -05:00
|
|
|
// Name: wx/colordlg.h
|
2001-07-04 21:26:15 -04:00
|
|
|
// Purpose: wxColourDialog
|
|
|
|
// Author: Vadim Zeitiln
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
2004-05-23 10:56:36 -04:00
|
|
|
// Copyright: (c) wxWidgets team
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
2001-07-04 21:26:15 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-14 20:23:28 -04:00
|
|
|
#ifndef _WX_COLORDLG_H_BASE_
|
|
|
|
#define _WX_COLORDLG_H_BASE_
|
1998-05-20 10:01:55 -04:00
|
|
|
|
2004-06-04 12:02:14 -04:00
|
|
|
#include "wx/defs.h"
|
|
|
|
|
2001-07-04 21:26:15 -04:00
|
|
|
#if wxUSE_COLOURDLG
|
|
|
|
|
2011-01-07 00:26:57 -05:00
|
|
|
#include "wx/colourdata.h"
|
|
|
|
|
2002-12-04 09:11:26 -05:00
|
|
|
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
|
2001-07-04 21:26:15 -04:00
|
|
|
#include "wx/msw/colordlg.h"
|
2002-12-04 09:11:26 -05:00
|
|
|
#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__)
|
2008-06-11 15:17:41 -04:00
|
|
|
#include "wx/osx/colordlg.h"
|
2004-06-04 12:02:14 -04:00
|
|
|
#elif defined(__WXGTK20__) && !defined(__WXUNIVERSAL__)
|
|
|
|
#include "wx/gtk/colordlg.h"
|
2001-07-04 21:26:15 -04:00
|
|
|
#else
|
|
|
|
#include "wx/generic/colrdlgg.h"
|
1998-05-20 10:01:55 -04:00
|
|
|
|
2001-07-04 21:26:15 -04:00
|
|
|
#define wxColourDialog wxGenericColourDialog
|
1998-11-08 17:35:18 -05:00
|
|
|
#endif
|
|
|
|
|
2000-02-07 20:08:51 -05:00
|
|
|
// get the colour from user and return it
|
2009-01-19 08:55:27 -05:00
|
|
|
WXDLLIMPEXP_CORE wxColour wxGetColourFromUser(wxWindow *parent = NULL,
|
2008-03-26 11:06:00 -04:00
|
|
|
const wxColour& colInit = wxNullColour,
|
|
|
|
const wxString& caption = wxEmptyString,
|
|
|
|
wxColourData *data = NULL);
|
2001-07-04 21:26:15 -04:00
|
|
|
|
|
|
|
#endif // wxUSE_COLOURDLG
|
2000-02-07 20:08:51 -05:00
|
|
|
|
1998-05-20 10:01:55 -04:00
|
|
|
#endif
|
1998-08-14 20:23:28 -04:00
|
|
|
// _WX_COLORDLG_H_BASE_
|