]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaPanelButtonContainer/buttonContainerSettings.h
#2507 creaMaracasVisu Feature New Normal - creaPanelButtonContainerListPanel
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaPanelButtonContainer / buttonContainerSettings.h
index 329ced9f1b7f5c3d6b9d868027e7e09d04c136e3..e88f08dbe73cd6fbdcac8332db9645c54dbc0156 100644 (file)
@@ -126,7 +126,7 @@ namespace creaPanelButtonContainer
                         *      @brief This class contains the settings of the button container.
                         */
 
-
+                       typedef std::map< std::string, wxPanel* > ItemsMap;
                public:
                        // ----------------------------------------------------------------------------------
                        /*! @fn ButtonContainerSettings( );
@@ -230,7 +230,13 @@ namespace creaPanelButtonContainer
                         * @exception std::bad_alloc
                         */
                        void
-                       AddButtons( BCStructVectorType infoList );
+                       AddButtons( BCStructVectorType infoList, int type );
+
+                       void
+                       AddItems(BCPSettingsStruct* info);
+
+                       ItemsMap
+                       GetItemsMap();
 
 
                        // ----------------------------------------------------------------------------------
@@ -238,6 +244,8 @@ namespace creaPanelButtonContainer
                        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.
 
-                       };
+                       //MLER
+                       ItemsMap m_itemsMap; //This is the map with the name and the wPanel
+               };
 }//ecapseman
 #endif /* BUTTONCONTAINERSETTINGS_H_ */