]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaPanelButtonContainer/buttonContainerSettings.h
#2507 creaMaracasVisu Feature New Normal - creaPanelButtonContainer ListPanel
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaPanelButtonContainer / buttonContainerSettings.h
index 056e4e87e89a6e61ac25b3506f4333be9897d091..9f3e5245db7d7f17cdb1cfc1e433f710951ecfb9 100644 (file)
@@ -126,10 +126,8 @@ namespace creaPanelButtonContainer
                         *      @brief This class contains the settings of the button container.
                         */
 
-//EED-MLER                     typedef wxListItem Item;
-//EED-MLER                     typedef std::list < tList* > ItemsList;
-//EED-MLER                     typedef std::map< StringType, ListLst > ListGroupMap;
 
+                       typedef std::map< std::string, wxPanel* > ItemsMap;
 
                public:
                        // ----------------------------------------------------------------------------------
@@ -234,23 +232,17 @@ namespace creaPanelButtonContainer
                         * @exception std::bad_alloc
                         */
                        void
-                       AddButtons( BCStructVectorType infoList );
-
-//EED-MLER
-/*
-                       void
-                       AddItem (BCPSettingsStruct* info);
-
-                       void
-                       AddItems( BCStructVectorType infoList );
-*/
+                       AddButtons( BCStructVectorType infoList, int type );
 
                        // ----------------------------------------------------------------------------------
                private:
                        ButtonGroupMap m_ButtonGroupContainer; //!<This is the map with the groups of buttons.
                        KeyMapList m_GroupNameList; //!<This is a container with the name of the groups.
 
-//EED-MLER                     ListGroupMap m_ListGroupContainer;
-       };
+
+                       //MLER
+                       ItemsMap m_itemsMap; //This is the map with the name and the wPanel
+               };
+
 }//ecapseman
 #endif /* BUTTONCONTAINERSETTINGS_H_ */