]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx
2d771f9cf1ca484ac0c660d79c59f5ccd08f8a83
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuPanelButtonContainer.cxx
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 #include "bbcreaMaracasVisuPanelButtonContainer.h"
5 #include "bbcreaMaracasVisuPackage.h"
6 namespace bbcreaMaracasVisu
7 {
8
9         BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,PanelButtonContainer)
10         BBTK_BLACK_BOX_IMPLEMENTATION(PanelButtonContainer,bbtk::WxBlackBox)
11 ;
12 //===== 
13 // 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)
14 //===== 
15 void
16 PanelButtonContainer::Process( )
17 {
18
19 }
20 //===== 
21 // 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)
22 //===== 
23 void
24 PanelButtonContainer::CreateWidget( wxWindow* parent )
25 {
26         this->myPanel = new wxPanel( parent, -1 );
27         wxWindow* ww = bbCreateWidgetOfInput( "In", this->myPanel );
28                 ButtonContainerSettings* settings = new ButtonContainerSettings( );
29                 settings->AddButtons( bbGetInputIn( ) );
30                 PBContainer* panel = new PBContainer( myPanel,
31                     settings );
32         wxBoxSizer* sizer = new wxBoxSizer( wxHORIZONTAL );
33         sizer->Add( panel, 1, wxEXPAND, 0 );
34         this->myPanel->SetSizer(sizer);
35         bbSetOutputWidget( myPanel);
36
37 }
38 //===== 
39 // 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)
40 //===== 
41 void
42 PanelButtonContainer::bbUserSetDefaultValues( )
43 {
44
45 }
46 //===== 
47 // 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)
48 //===== 
49 void
50 PanelButtonContainer::bbUserInitializeProcessing( )
51 {
52
53 }
54 //===== 
55 // 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)
56 //===== 
57 void
58 PanelButtonContainer::bbUserFinalizeProcessing( )
59 {
60
61 }
62 }
63 // EO namespace bbcreaMaracasVisu
64
65