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