]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaPanelButtonContainer/buttonContainerSettings.cxx
#2520 creaMaracasVisu - Bug New Normal - Color Layer with double images
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaPanelButtonContainer / buttonContainerSettings.cxx
index cc82378b606649f6426f3264b20b7f52e1651da6..721e82f1b7f70dbf7a6c65889140d172b9771e74 100644 (file)
@@ -91,6 +91,7 @@ namespace creaPanelButtonContainer
                }//hctac
                return ( NULL );
        }
+/*
        // ----------------------------------------------------------------------------------
        ButtonContainerSettings::PanelButton
        ButtonContainerSettings::GetPanelList( const StringType &buttonName )
@@ -118,7 +119,7 @@ namespace creaPanelButtonContainer
                return (NULL);
 
        }
-
+*/
 
        // ----------------------------------------------------------------------------------
        ButtonContainerSettings::ButtonGroupSettings*
@@ -269,8 +270,8 @@ namespace creaPanelButtonContainer
                        {
                                if( type == 0 )
                                        this->AddButton( *it );
-                               else if( type == 1 )
-                                       this->AddItems(*it);
+//                             else if( type == 1 )
+//                                     this->AddItems(*it);
                        }//rof
                }//yrt
                catch ( std::exception& e )
@@ -281,6 +282,9 @@ namespace creaPanelButtonContainer
                }//hctac
        }
 
+
+//EED-MLER
+/*
        void
        ButtonContainerSettings::AddItems(BCPSettingsStruct* info)
        {
@@ -304,20 +308,23 @@ namespace creaPanelButtonContainer
                }//yrt
                catch ( const std::exception& e )
                {
-                       std::cerr
-                       << "ButtonContainerSettings::AddButton( BCPSettingsStruct* info )"
-                       << "exception: " << e.what( ) << std::endl;
-                       exit( 1 );
-               }//hctac
-       }
-
-       ButtonContainerSettings::ItemsMap
-       ButtonContainerSettings::GetItemsMap()
-       {
-               std::cout<< "MLER | ButtonContainerSettings:: GetItemsMap()" << std::endl;
-               return m_itemsMap;
-       }
-
+<<<<<<< HEAD
+                       try
+                       {
+                               for( BCStructVectorType::iterator it = infoList.begin( ); it
+                                   != infoList.end( ); ++it )
+                               {
+                                       this->AddItem(*it);
+                               }//rof
+                       }//yrt
+                       catch ( const std::exception& e )
+                       {
+                               std::cerr
+                           << "ContainerSettings::AddButtons( BCStructVectorType infoList ) "
+                           << "exception: " << e.what( ) << std::endl;
+                       }//hctac
+               }
+*/
 
 // ----------------------------------------------------------------------------------
 }//ecapseman