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 "bbcreaMaracasVisuPanelButtonContainerSettings.h"
5 #include "bbcreaMaracasVisuPackage.h"
6 namespace bbcreaMaracasVisu
9 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,PanelButtonContainerSettings)
10 BBTK_BLACK_BOX_IMPLEMENTATION(PanelButtonContainerSettings,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 PanelButtonContainerSettings::Process( )
19 this->m_BSettings->groupName = bbGetInputGroupName( );
20 this->m_BSettings->buttonName = bbGetInputButtonName( );
21 this->m_BSettings->buttonDescription = bbGetInputButtonDescription( );
22 this->m_BSettings->iconpath = bbGetInputIconpath( );
23 this->m_BSettings->panel = this->myPanel;
24 this->m_BCSettingsVector = bbGetInputIn();
25 this->m_BCSettingsVector.push_back( this->m_BSettings );
26 bbSetOutputOut( this->m_BCSettingsVector );
28 printf("EED PanelButtonContainerSettings::Process In %d\n", bbGetInputIn( ).size() );
29 printf("EED PanelButtonContainerSettings::Process tmpVec %d\n", this->m_BCSettingsVector.size() );
30 printf("EED PanelButtonContainerSettings::Process Out %d\n", bbGetOutputOut( ).size() );
34 // 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 PanelButtonContainerSettings::CreateWidget( wxWindow* parent )
39 this->myPanel = new wxPanel( parent, -1 );
40 wxWindow* w = bbCreateWidgetOfInput("Widget", myPanel);
41 /// \TODO fix : unused variable \u2018ww\u2019
42 wxWindow* ww = bbCreateWidgetOfInput("In", parent);
44 wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL);
45 sizer->Add(w,1,wxEXPAND, 0);
46 this->myPanel->SetSizer(sizer);
47 bbSetOutputWidget( myPanel );
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)
53 PanelButtonContainerSettings::bbUserSetDefaultValues( )
58 // 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)
61 PanelButtonContainerSettings::bbUserInitializeProcessing( )
63 this->m_BSettings = new BCPSettingsStruct();
66 // 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)
69 PanelButtonContainerSettings::bbUserFinalizeProcessing( )
76 // EO namespace bbcreaMaracasVisu