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)
4 #include "bbcreaMaracasVisuPanelButtonContainer.h"
5 #include "bbcreaMaracasVisuPackage.h"
6 namespace bbcreaMaracasVisu
9 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,PanelButtonContainer)
10 BBTK_BLACK_BOX_IMPLEMENTATION(PanelButtonContainer,bbtk::WxBlackBox)
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)
16 PanelButtonContainer::Process( )
18 ButtonContainerSettings* settings = new ButtonContainerSettings( );
19 printf("EED PanelButtonContainer::Process %d\n", bbGetInputIn( ).size() );
20 settings->AddButtons( bbGetInputIn( ) );
22 PBContainer* panel = new PBContainer( myPanel, settings );
23 wxBoxSizer* sizer = new wxBoxSizer( wxHORIZONTAL );
24 sizer->Add( panel, 1, wxEXPAND, 0 );
25 this->myPanel->SetSizer(sizer);
27 this->myPanel->SetAutoLayout(true);
28 this->myPanel->Layout();
33 // 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)
35 void PanelButtonContainer::CreateWidget( wxWindow* parent )
37 this->myPanel = new wxPanel( parent, -1 );
38 /// \TODO fix warning: unused variable ww
39 wxWindow* ww = bbCreateWidgetOfInput( "In", this->myPanel );
40 bbSetOutputWidget( myPanel);
44 // 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)
47 PanelButtonContainer::bbUserSetDefaultValues( )
52 // 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)
55 PanelButtonContainer::bbUserInitializeProcessing( )
60 // 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)
63 PanelButtonContainer::bbUserFinalizeProcessing( )
68 // EO namespace bbcreaMaracasVisu