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 wxWindow* ww = bbCreateWidgetOfInput("In", parent);
43 wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL);
44 sizer->Add(w,1,wxEXPAND, 0);
45 this->myPanel->SetSizer(sizer);
46 bbSetOutputWidget( myPanel );
51 // 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)
54 PanelButtonContainerSettings::bbUserSetDefaultValues( )
59 // 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)
62 PanelButtonContainerSettings::bbUserInitializeProcessing( )
64 this->m_BSettings = new BCPSettingsStruct();
67 // 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)
70 PanelButtonContainerSettings::bbUserFinalizeProcessing( )
75 // EO namespace bbcreaMaracasVisu