#include <wx/panel.h>
#include <wx/bitmap.h>
-//EED-MLER #include <wx/listctrl.h>
+#include <wx/listctrl.h>
#include <list>
#include <map>
* @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:
// ----------------------------------------------------------------------------------
/*! @fn ButtonContainerSettings( );
* @exception std::bad_alloc
*/
void
- AddButtons( BCStructVectorType infoList );
+ AddButtons( BCStructVectorType infoList, int type );
-//EED-MLER
-/*
void
- AddItem (BCPSettingsStruct* info);
+ AddItems(BCPSettingsStruct* info);
+
+ ItemsMap
+ GetItemsMap();
+
+ PanelButton
+ GetPanelList( const StringType &buttonName );
- void
- AddItems( BCStructVectorType infoList );
-*/
// ----------------------------------------------------------------------------------
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_ */