//===== // 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) //===== #include "bbcreaMaracasVisuPanelButtonContainerSettings.h" #include "bbcreaMaracasVisuPackage.h" namespace bbcreaMaracasVisu { BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,PanelButtonContainerSettings) BBTK_BLACK_BOX_IMPLEMENTATION(PanelButtonContainerSettings,bbtk::WxBlackBox) ; //===== // 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) //===== void PanelButtonContainerSettings::Process( ) { this->m_BSettings->groupName = bbGetInputGroupName( ); this->m_BSettings->buttonName = bbGetInputButtonName( ); this->m_BSettings->buttonDescription = bbGetInputButtonDescription( ); this->m_BSettings->iconpath = bbGetInputIconpath( ); this->m_BSettings->panel = this->myPanel; this->m_BCSettingsVector = bbGetInputIn(); this->m_BCSettingsVector.push_back( this->m_BSettings ); bbSetOutputOut( this->m_BCSettingsVector ); printf("EED PanelButtonContainerSettings::Process In %d\n", bbGetInputIn( ).size() ); printf("EED PanelButtonContainerSettings::Process tmpVec %d\n", this->m_BCSettingsVector.size() ); printf("EED PanelButtonContainerSettings::Process Out %d\n", bbGetOutputOut( ).size() ); } //===== // 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) //===== void PanelButtonContainerSettings::CreateWidget( wxWindow* parent ) { this->myPanel = new wxPanel( parent, -1 ); wxWindow* w = bbCreateWidgetOfInput("Widget", myPanel); wxWindow* ww = bbCreateWidgetOfInput("In", parent); wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL); sizer->Add(w,1,wxEXPAND, 0); this->myPanel->SetSizer(sizer); bbSetOutputWidget( myPanel ); } //===== // 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) //===== void PanelButtonContainerSettings::bbUserSetDefaultValues( ) { } //===== // 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) //===== void PanelButtonContainerSettings::bbUserInitializeProcessing( ) { this->m_BSettings = new BCPSettingsStruct(); } //===== // 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) //===== void PanelButtonContainerSettings::bbUserFinalizeProcessing( ) { } } // EO namespace bbcreaMaracasVisu