]> Creatis software - bbtk.git/blob - packages/wx/src/bbwxColourSelector.h
*** empty log message ***
[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/05/07 13:14:48 $
7   Version:   $Revision: 1.4 $
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  * \file 
20  * \brief Short description in one line
21  * 
22  * Long description which 
23  * can span multiple lines
24 */
25
26 /**
27  * \class bbwx::ColorDialog
28  * \brief 
29
30  */
31
32 #ifdef _USE_WXWIDGETS_
33
34
35 #ifndef __bbWxColourSelector_h__
36 #define __bbWxColourSelector_h__
37
38 #include "bbtkWxBlackBox.h"
39
40 // Namespace of the package "wx" is "bbwx" 
41 // Namespace associated to packages should be of the form :
42 // bbPACKAGENAME
43 namespace bbwx
44 {
45
46   //=================================================================
47   class /*BBTK_EXPORT*/ ColourSelector : public bbtk::AtomicBlackBox
48   {
49     BBTK_BLACK_BOX_INTERFACE(ColourSelector,bbtk::AtomicBlackBox);
50     BBTK_DECLARE_OUTPUT(Out,std::string);
51     BBTK_PROCESS(Process);
52 //    BBTK_CREATE_WIDGET(CreateWidget);
53     void Process();
54 //    void CreateWidget();
55
56   protected:
57     virtual void bbUserConstructor();
58  // private:
59  //   wxColourSelector* mColorDialog;
60   };
61   //=================================================================
62
63   //=================================================================
64   // UserBlackBox description
65   BBTK_BEGIN_DESCRIBE_BLACK_BOX(ColourSelector,bbtk::AtomicBlackBox);
66   // Already inserted for any WxBlackBox  BBTK_CATEGORY("widget");
67   BBTK_NAME("ColourSelector");
68   BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
69   BBTK_DESCRIPTION("Colour Selector dialog (bbfication of wxColourSelector)");
70   BBTK_OUTPUT(ColourSelector,Out,"The colour selected by the user",std::string,"colour");
71   BBTK_END_DESCRIBE_BLACK_BOX(ColourSelector);
72   //=================================================================
73
74 }
75
76 //namespace bbtk
77 #endif  //__bbtkWxColourSelector_h__
78
79 #endif //_USE_WXWIDGETS_