1 /*# ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
9 # This software is governed by the CeCILL-B license under French law and
10 # abiding by the rules of distribution of free software. You can use,
11 # modify and/ or redistribute the software under the terms of the CeCILL-B
12 # license as circulated by CEA, CNRS and INRIA at the following URL
13 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 # or in the file LICENSE.txt.
16 # As a counterpart to the access to the source code and rights to copy,
17 # modify and redistribute granted by the license, users are provided only
18 # with a limited warranty and the software's author, the holder of the
19 # economic rights, and the successive licensors have only limited
22 # The fact that you are presently reading this means that you have had
23 # knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
27 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
29 #ifdef _USE_WXWIDGETS_
30 #ifndef __bbcreaMaracasVisuPanelButtonContainer_h_INCLUDED__
31 #define __bbcreaMaracasVisuPanelButtonContainer_h_INCLUDED__
32 #include "bbcreaMaracasVisu_EXPORT.h"
33 #include "bbtkWxBlackBox.h"
34 #include <structBCPSettings.h>
35 #include <buttonContainerSettings.h>
36 #include <creaPanelButtonContainer.h>
38 namespace bbcreaMaracasVisu
40 typedef creaPanelButtonContainer::BCPSettingsStruct BCPSettingsStruct;
41 typedef creaPanelButtonContainer::ButtonContainerSettings ButtonContainerSettings;
42 typedef creaPanelButtonContainer::PanelButtonContainer PBContainer;
43 typedef std::vector< BCPSettingsStruct* > BCStructVectorType;
44 class bbcreaMaracasVisu_EXPORT PanelButtonContainer
46 public bbtk::WxBlackBox
48 BBTK_BLACK_BOX_INTERFACE(PanelButtonContainer,bbtk::WxBlackBox);
50 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
52 BBTK_DECLARE_INPUT(Title,std::string);
53 BBTK_DECLARE_INPUT(In,BCStructVectorType);
54 BBTK_DECLARE_INPUT(Type,int);
55 BBTK_PROCESS(Process);
57 BBTK_CREATE_WIDGET(CreateWidget);
58 void CreateWidget(wxWindow*);
62 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
66 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PanelButtonContainer,bbtk::WxBlackBox);
67 BBTK_NAME("PanelButtonContainer");
68 BBTK_AUTHOR("caceres@creatis.insa-lyon.fr");
69 BBTK_DESCRIPTION("This blackbox creates a Widget of creaButtonContainerPanel");
70 BBTK_CATEGORY("__CategoryBlackBox__");
72 BBTK_INPUT(PanelButtonContainer,Title,"Title prepended to the text",std::string,"");
73 BBTK_INPUT(PanelButtonContainer,In,"ButtonContainerSettings List",BCStructVectorType,"");
74 BBTK_INPUT(PanelButtonContainer,Type,"Type container (0: Button Container ; 1: List Container ; 2: Configurable List Container)",int,"");
76 BBTK_END_DESCRIBE_BLACK_BOX(PanelButtonContainer);
78 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
81 // EO namespace bbcreaMaracasVisu
83 #endif // __bbcreaMaracasVisuPanelButtonContainer_h_INCLUDED__
84 #endif // _USE_WXWIDGETS_