1 /*=========================================================================
4 Module: $RCSfile: bbwxColourSelector.h,v $
6 Date: $Date: 2008/09/10 12:01:47 $
7 Version: $Revision: 1.6 $
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.
18 =========================================================================*/
21 * \brief Short description in one line
23 * Long description which
24 * can span multiple lines
28 * \class bbwx::ColorDialog
33 #ifdef _USE_WXWIDGETS_
35 // Prevents multiple inclusions : use symbols of the form
36 // __FILENAME_INCLUDED__
37 // where FILENAME must be replaced by the actual file name
38 #ifndef __bbWxColourSelector_h__
39 #define __bbWxColourSelector_h__
41 // Include wxBlackBox definition
42 #include "bbtkWxBlackBox.h"
44 // Namespace of the package "wx" is "bbwx"
45 // Namespace associated to packages should be of the form :
50 //=================================================================
51 class /*BBTK_EXPORT*/ ColourSelector : public bbtk::AtomicBlackBox
53 BBTK_BLACK_BOX_INTERFACE(ColourSelector,bbtk::AtomicBlackBox);
54 BBTK_DECLARE_OUTPUT(Out,std::string);
55 BBTK_PROCESS(Process);
56 // BBTK_CREATE_WIDGET(CreateWidget);
58 // void CreateWidget();
61 virtual void bbUserConstructor();
63 // wxColourSelector* mColorDialog;
66 //=================================================================
67 // UserBlackBox description
68 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ColourSelector,bbtk::AtomicBlackBox);
69 // Already inserted for any WxBlackBox BBTK_CATEGORY("widget");
70 BBTK_NAME("ColourSelector");
71 BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
72 BBTK_DESCRIPTION("Colour Selector dialog (bbfication of wxColourSelector)");
73 BBTK_OUTPUT(ColourSelector,Out,"Colour choosen in format '[0,1] [0,1] [0,1]'",std::string,"colour");
74 BBTK_END_DESCRIBE_BLACK_BOX(ColourSelector);
75 //=================================================================
78 #endif // __bbtkWxColourSelector_h__
80 #endif //_USE_WXWIDGETS_