#include <wx/panel.h>
#include <wx/bitmap.h>
+#include <wx/listctrl.h>
#include <list>
#include <map>
#include "containerSettings.h"
#include "functor.h"
+
/*! @namespace <creaPanelButtonContainer>
* @brief Contains the creaPanelButtonContainer library included in creaMaracasVisu.
*/
/*! @class ButtonContainerSettings buttonContainerSettings.h "buttonContainerSettings.h"
* @brief This class contains the settings of the button container.
*/
+
+ typedef std::map< std::string, wxPanel* > ItemsMap;
public:
// ----------------------------------------------------------------------------------
/*! @fn ButtonContainerSettings( );
* @brief This method sets the button group container.
* @param bGroupContainer
*/
+
+ // ----------------------------------------------------------------------------------
+
+ ButtonGroupSettings*
+ GetListGroupSettings();
+
+ // ----------------------------------------------------------------------------------
+
+
+
void
SetButtonGroupContainer( ButtonGroupMap bGroupContainer );
// ----------------------------------------------------------------------------------
* @exception std::bad_alloc
*/
void
- AddButtons( BCStructVectorType infoList );
+ AddButtons( BCStructVectorType infoList, int type );
+
+ void
+ AddItems(BCPSettingsStruct* info);
+
+ ItemsMap
+ GetItemsMap();
+
+ PanelButton
+ GetPanelList( const StringType &buttonName );
+
+
// ----------------------------------------------------------------------------------
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.
- };
+
+ //MLER
+ ItemsMap m_itemsMap; //This is the map with the name and the wPanel
+ };
}//ecapseman
#endif /* BUTTONCONTAINERSETTINGS_H_ */