X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbcreaMaracasVisuPanelButtonContainerSettings.cxx;h=0934d08a3f45df1664a6e251f8744c897c0b0632;hb=12b981bff843fa03341334fe5b911a011afaadff;hp=1911c214eca725f045091e866f3867d5e3e081fd;hpb=de7a931d43b373fdbaba530ae326a64d45148ae9;p=creaMaracasVisu.git diff --git a/bbtk/src/bbcreaMaracasVisuPanelButtonContainerSettings.cxx b/bbtk/src/bbcreaMaracasVisuPanelButtonContainerSettings.cxx index 1911c21..0934d08 100644 --- a/bbtk/src/bbcreaMaracasVisuPanelButtonContainerSettings.cxx +++ b/bbtk/src/bbcreaMaracasVisuPanelButtonContainerSettings.cxx @@ -16,26 +16,19 @@ void PanelButtonContainerSettings::Process( ) { - // std::string msg; - // if (bbGetInputTitle()!="") - // { - // msg = bbGetInputTitle()+": " + bbGetInputIn(); - // } - // else - // { - // msg = bbGetInputIn(); - // } - // ((wxStaticText*)bbGetOutputWidget())->SetLabel( bbtk::std2wx( msg ) ); - - 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_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( bbGetInputIn() ); - + 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) @@ -51,6 +44,8 @@ PanelButtonContainerSettings::CreateWidget( wxWindow* parent ) 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)