]> 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 cdb3207783c62ad3a1a171201293cfa65abd2231..9f3e5245db7d7f17cdb1cfc1e433f710951ecfb9 100644 (file)
@@ -35,7 +35,7 @@
 
 #include <wx/panel.h>
 #include <wx/bitmap.h>
-#include <wx/listctrl.h>
+//EED-MLER #include <wx/listctrl.h>
 
 #include <list>
 #include <map>
@@ -126,10 +126,8 @@ namespace creaPanelButtonContainer
                         *      @brief This class contains the settings of the button container.
                         */
 
-                       typedef wxListItem Item;
-                       typedef std::list < tList* > ItemsList;
-                       typedef std::map< StringType, ListLst > ListGroupMap;
 
+                       typedef std::map< std::string, wxPanel* > ItemsMap;
 
                public:
                        // ----------------------------------------------------------------------------------
@@ -234,20 +232,17 @@ namespace creaPanelButtonContainer
                         * @exception std::bad_alloc
                         */
                        void
-                       AddButtons( BCStructVectorType infoList );
-
-                       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.
 
-                       ListGroupMap m_ListGroupContainer;
-       };
+
+                       //MLER
+                       ItemsMap m_itemsMap; //This is the map with the name and the wPanel
+               };
+
 }//ecapseman
 #endif /* BUTTONCONTAINERSETTINGS_H_ */