+/*# ---------------------------------------------------------------------
+#
+# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
+# pour la Sant�)
+# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+# Previous Authors : Laurent Guigues, Jean-Pierre Roux
+# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
+#
+# This software is governed by the CeCILL-B license under French law and
+# abiding by the rules of distribution of free software. You can use,
+# modify and/ or redistribute the software under the terms of the CeCILL-B
+# license as circulated by CEA, CNRS and INRIA at the following URL
+# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
+# or in the file LICENSE.txt.
+#
+# As a counterpart to the access to the source code and rights to copy,
+# modify and redistribute granted by the license, users are provided only
+# with a limited warranty and the software's author, the holder of the
+# economic rights, and the successive licensors have only limited
+# liability.
+#
+# The fact that you are presently reading this means that you have had
+# knowledge of the CeCILL-B license and that you accept its terms.
+# ------------------------------------------------------------------------ */
+
//=====
// 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)
//=====
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->icon = bbGetInputIcon( );
+ this->m_BSettings->panel = this->myPanel;
+ this->m_BCSettingsVector = bbGetInputIn();
this->m_BCSettingsVector.push_back( this->m_BSettings );
- bbSetOutputOut( bbGetInputIn() );
-
+ bbSetOutputOut( this->m_BCSettingsVector );
+ bbSetOutputSettings( this->m_BSettings );
+ 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)
PanelButtonContainerSettings::CreateWidget( wxWindow* parent )
{
this->myPanel = new wxPanel( parent, -1 );
- wxWindow* w = bbCreateWidgetOfInput("Widget", myPanel);
+ wxWindow* w = bbCreateWidgetOfInput("Widget", myPanel);
+ /// \TODO fix : unused variable \u2018ww\u2019
wxWindow* ww = bbCreateWidgetOfInput("In", parent);
wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL);
sizer->Add(w,1,wxEXPAND, 0);
this->myPanel->SetSizer(sizer);
- bbSetOutputWidget( myPanel );
+ 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::bbUserInitializeProcessing( )
{
- this->m_BSettings = new BCSettingsStruct();
+ 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)
{
}
-}
-// EO namespace bbcreaMaracasVisu
+}
+// EO namespace bbcreaMaracasVisu