]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaPanelButtonContainer/buttonContainerSettings.h
#2516 creaMaracasVisu Feature New Normal - creaPanelButtonContainer ListPanel with...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaPanelButtonContainer / buttonContainerSettings.h
index 329ced9f1b7f5c3d6b9d868027e7e09d04c136e3..ccd01c5ca943e9d41eb31f18551eca187c6dc119 100644 (file)
@@ -126,8 +126,9 @@ namespace creaPanelButtonContainer
                         *      @brief This class contains the settings of the button container.
                         */
 
+                       typedef std::map< std::string, wxPanel* > ItemsMap;
 
-               public:
+                       public:
                        // ----------------------------------------------------------------------------------
                        /*! @fn ButtonContainerSettings( );
                         *      @brief This is the default constructor.
@@ -230,7 +231,16 @@ namespace creaPanelButtonContainer
                         * @exception std::bad_alloc
                         */
                        void
-                       AddButtons( BCStructVectorType infoList );
+                       AddButtons( BCStructVectorType infoList, int type );
+
+                       void
+                       AddItems(BCPSettingsStruct* info);
+
+                       ItemsMap
+                       GetItemsMap();
+
+                       PanelButton
+                       GetPanelList( const StringType &buttonName );
 
 
                        // ----------------------------------------------------------------------------------
@@ -238,6 +248,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_ */