]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuPanelButtonContainer.h
CreaPanelButtonContainer boxes
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuPanelButtonContainer.h
1 //===== 
2 // 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)
3 //===== 
4 #ifdef _USE_WXWIDGETS_
5 #ifndef __bbcreaMaracasVisuPanelButtonContainer_h_INCLUDED__
6 #define __bbcreaMaracasVisuPanelButtonContainer_h_INCLUDED__
7 #include "bbcreaMaracasVisu_EXPORT.h"
8 #include "bbtkWxBlackBox.h"
9 #include <structButtonContainerSettings.h>
10 #include <buttonContainerSettings.h>
11 #include <creaPanelButtonContainer.h>
12
13 namespace bbcreaMaracasVisu
14 {
15         typedef creaPanelButtonContainer::ButtonContainerSettings ButtonContainerSettings;
16         typedef creaPanelButtonContainer::PanelButtonContainer PBContainer;
17         typedef std::vector< BCSettingsStruct* > BCStructVectorType;
18 class bbcreaMaracasVisu_EXPORT PanelButtonContainer
19  : 
20    public bbtk::WxBlackBox
21 {
22   BBTK_BLACK_BOX_INTERFACE(PanelButtonContainer,bbtk::WxBlackBox);
23 //===== 
24 // 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)
25 //===== 
26   BBTK_DECLARE_INPUT(Title,std::string);
27   BBTK_DECLARE_INPUT(In,BCStructVectorType);
28   BBTK_PROCESS(Process);
29   void Process();
30   BBTK_CREATE_WIDGET(CreateWidget);
31   void CreateWidget(wxWindow*);
32         private:
33         wxPanel* myPanel;
34 //===== 
35 // 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)
36 //===== 
37 };
38
39 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PanelButtonContainer,bbtk::WxBlackBox);
40 BBTK_NAME("PanelButtonContainer");
41 BBTK_AUTHOR("caceres@creatis.insa-lyon.fr");
42 BBTK_DESCRIPTION("This blackbox creates a Widget of creaButtonContainerPanel");
43 BBTK_CATEGORY("__CategoryBlackBox__");
44 BBTK_INPUT(PanelButtonContainer,Title,"Title prepended to the text",std::string,"");
45 BBTK_INPUT(PanelButtonContainer,In,"ButtonContainerSettings List",BCStructVectorType,"");
46 BBTK_END_DESCRIBE_BLACK_BOX(PanelButtonContainer);
47 //===== 
48 // 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)
49 //===== 
50 }
51 // EO namespace bbcreaMaracasVisu
52
53 #endif // __bbcreaMaracasVisuPanelButtonContainer_h_INCLUDED__
54 #endif // _USE_WXWIDGETS_
55