+/*=========================================================================
+
+ Program: bbtk
+ Module: $RCSfile: bbwxColourDialog.h,v $
+ Language: C++
+ Date: $Date: 2008/02/14 16:55:07 $
+ Version: $Revision: 1.1 $
+
+ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+ l'Image). All rights reserved. See Doc/License.txt or
+ http://www.creatis.insa-lyon.fr/Public/bbtk/License.html for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even
+ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*//**
+ /**
+ * \file
+ * \brief Short description in one line
+ *
+ * Long description which
+ * can span multiple lines
+*/
+
+/**
+ * \class bbwx::ColorDialog
+ * \brief
+
+ */
+
+#ifdef _USE_WXWIDGETS_
+
+
+#ifndef __bbWxColourDialog_h__
+#define __bbWxColourDialog_h__
+
+#include "bbtkWxBlackBox.h"
+
+#include <wx/colordlg.h>
+
+// Namespace of the package "wx" is "bbwx"
+// Namespace associated to packages should be of the form :
+// bbPACKAGENAME
+namespace bbwx
+{
+
+
+
+
+ //=================================================================
+ class /*BBTK_EXPORT*/ ColourDialog : public bbtk::WxBlackBox
+ {
+ BBTK_USER_BLACK_BOX_INTERFACE(ColourDialog,bbtk::WxBlackBox);
+ BBTK_DECLARE_OUTPUT(Out,std::string);
+ BBTK_PROCESS(Process);
+ BBTK_CREATE_WIDGET(CreateWidget);
+ void Process();
+ void CreateWidget();
+
+ protected:
+ virtual void bbUserConstructor();
+ private:
+ wxColourDialog* mColorDialog;
+ };
+ //=================================================================
+
+
+ //=================================================================
+ // UserBlackBox description
+ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ColourDialog,bbtk::WxBlackBox);
+ // Already inserted for any WxBlackBox BBTK_CATEGORY("widget");
+ BBTK_NAME("ColourDialog");
+ BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
+ BBTK_DESCRIPTION("Colour chooser dialog (bbfication of wxColourDialog)");
+ BBTK_OUTPUT(ColourDialog,Out,"The colour selected by the user",std::string);
+ BBTK_END_DESCRIBE_BLACK_BOX(ColourDialog);
+ //=================================================================
+
+
+
+}
+
+
+
+//namespace bbtk
+#endif //__bbtkWxColourDialog_h__
+
+#endif //_USE_WXWIDGETS_