1 /*=========================================================================
4 Module: $RCSfile: bbwxColourDialog.h,v $
6 Date: $Date: 2008/02/14 16:55:07 $
7 Version: $Revision: 1.1 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/bbtk/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*//**
20 * \brief Short description in one line
22 * Long description which
23 * can span multiple lines
27 * \class bbwx::ColorDialog
32 #ifdef _USE_WXWIDGETS_
35 #ifndef __bbWxColourDialog_h__
36 #define __bbWxColourDialog_h__
38 #include "bbtkWxBlackBox.h"
40 #include <wx/colordlg.h>
42 // Namespace of the package "wx" is "bbwx"
43 // Namespace associated to packages should be of the form :
51 //=================================================================
52 class /*BBTK_EXPORT*/ ColourDialog : public bbtk::WxBlackBox
54 BBTK_USER_BLACK_BOX_INTERFACE(ColourDialog,bbtk::WxBlackBox);
55 BBTK_DECLARE_OUTPUT(Out,std::string);
56 BBTK_PROCESS(Process);
57 BBTK_CREATE_WIDGET(CreateWidget);
62 virtual void bbUserConstructor();
64 wxColourDialog* mColorDialog;
66 //=================================================================
69 //=================================================================
70 // UserBlackBox description
71 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ColourDialog,bbtk::WxBlackBox);
72 // Already inserted for any WxBlackBox BBTK_CATEGORY("widget");
73 BBTK_NAME("ColourDialog");
74 BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
75 BBTK_DESCRIPTION("Colour chooser dialog (bbfication of wxColourDialog)");
76 BBTK_OUTPUT(ColourDialog,Out,"The colour selected by the user",std::string);
77 BBTK_END_DESCRIBE_BLACK_BOX(ColourDialog);
78 //=================================================================
87 #endif //__bbtkWxColourDialog_h__
89 #endif //_USE_WXWIDGETS_