]> Creatis software - bbtk.git/blob - packages/wx/src/bbwxColourSelector.h
Fixes in some comments
[bbtk.git] / packages / wx / src / bbwxColourSelector.h
1 /*=========================================================================
2                                                                                 
3   Program:   bbtk
4   Module:    $RCSfile: bbwxColourSelector.h,v $
5   Language:  C++
6   Date:      $Date: 2008/09/10 12:01:47 $
7   Version:   $Revision: 1.6 $
8                                                                                 
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.
12
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.
16
17
18 =========================================================================*/
19 /**
20  * \file 
21  * \brief Short description in one line
22  * 
23  * Long description which 
24  * can span multiple lines
25 */
26
27 /**
28  * \class bbwx::ColorDialog
29  * \brief 
30
31  */
32
33 #ifdef _USE_WXWIDGETS_
34
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__
40
41 // Include wxBlackBox definition
42 #include "bbtkWxBlackBox.h"
43
44 // Namespace of the package "wx" is "bbwx" 
45 // Namespace associated to packages should be of the form :
46 // bbPACKAGENAME
47 namespace bbwx
48 {
49
50   //=================================================================
51   class /*BBTK_EXPORT*/ ColourSelector : public bbtk::AtomicBlackBox
52   {
53     BBTK_BLACK_BOX_INTERFACE(ColourSelector,bbtk::AtomicBlackBox);
54     BBTK_DECLARE_OUTPUT(Out,std::string);
55     BBTK_PROCESS(Process);
56 //    BBTK_CREATE_WIDGET(CreateWidget);
57     void Process();
58 //    void CreateWidget();
59
60   protected:
61     virtual void bbUserConstructor();
62  // private:
63  //   wxColourSelector* mColorDialog;
64   };
65
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   //=================================================================
76
77 }//namespace bbtk
78 #endif  // __bbtkWxColourSelector_h__
79
80 #endif //_USE_WXWIDGETS_