]> Creatis software - bbtk.git/blob - packages/wx/src/bbwxColourDialog.h
*** empty log message ***
[bbtk.git] / packages / wx / src / bbwxColourDialog.h
1 /*=========================================================================
2                                                                                 
3   Program:   bbtk
4   Module:    $RCSfile: bbwxColourDialog.h,v $
5   Language:  C++
6   Date:      $Date: 2008/02/14 19:19:52 $
7   Version:   $Revision: 1.2 $
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 __bbWxColourDialog_h__
36 #define __bbWxColourDialog_h__
37
38 #include "bbtkWxBlackBox.h"
39
40
41 // Namespace of the package "wx" is "bbwx" 
42 // Namespace associated to packages should be of the form :
43 // bbPACKAGENAME
44 namespace bbwx
45 {
46   
47   
48   
49
50   //=================================================================
51   class /*BBTK_EXPORT*/ ColourDialog : public bbtk::AtomicBlackBox
52   {
53     BBTK_USER_BLACK_BOX_INTERFACE(ColourDialog,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  //   wxColourDialog* mColorDialog;
64   };
65   //=================================================================
66   
67  
68   //=================================================================
69   // UserBlackBox description
70   BBTK_BEGIN_DESCRIBE_BLACK_BOX(ColourDialog,bbtk::AtomicBlackBox);
71   // Already inserted for any WxBlackBox  BBTK_CATEGORY("widget");
72   BBTK_NAME("ColourDialog");
73   BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
74   BBTK_DESCRIPTION("Colour chooser dialog (bbfication of wxColourDialog)");
75   BBTK_OUTPUT(ColourDialog,Out,"The colour selected by the user",std::string);
76   BBTK_END_DESCRIBE_BLACK_BOX(ColourDialog);
77   //=================================================================
78
79
80
81 }
82
83
84
85 //namespace bbtk
86 #endif  //__bbtkWxColourDialog_h__
87
88 #endif //_USE_WXWIDGETS_