]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbcreaMaracasVisuPanelButtonContainerSettings.cxx
#2516 creaMaracasVisu Feature New Normal - creaPanelButtonContainer ListPanel with...
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuPanelButtonContainerSettings.cxx
index e48c87f71237f20f9a4462c8b1021bfa29917105..faded793d1f0aef8d4486d50f20dc1a23e28be6d 100644 (file)
@@ -1,3 +1,28 @@
+/*# ---------------------------------------------------------------------
+#
+# 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)
 //===== 
@@ -18,13 +43,14 @@ 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_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( 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() );