#define BUTTONGROUPSETTINGS_H_
#include <vector>
+#include <wx/bitmap.h>
#include "structBCSettings.h"
#include "system.h"
/*! @namespace <creaButtonContainer>
* @brief Contains the creaButtonContainer library included in creaMaracasVisu.
*/
+
+
namespace creaButtonContainer
{
/*! @namespace <creaButtonContainer::model>
*/
virtual
~ContainerSettings( );
+
// ----------------------------------------------------------------------------------
/*! @fn ButtonGroupMap ContainerSettings::GetButtonGroupContainer( )
* @brief This method returns a container of buttons ordered by group.
*/
KeyMapList
GetGroupNameList( );
+
// ----------------------------------------------------------------------------------
/*! void ContainerSettings::SetButtonGroupContainer( ButtonGroupMap m_ButtonGroupContainer )
* @brief This method allows to create the ButtonGroupContainer.
*/
void
SetButtonGroupContainer( ButtonGroupMap bgContainer );
+
+
// ----------------------------------------------------------------------------------
/*! void ContainerSettings::SetGroupNameList( KeyMapList gNameList )
* @brief This method sets a container with the name of the groups.
*/
void
SetGroupNameList( KeyMapList gNameList );
+
+
// ----------------------------------------------------------------------------------
/*!
* @fn ContainerSettings::AddButton( const std::string & groupName, const std::string buttonName,
*/
void
AddButton( const StringType & groupName, const StringType &buttonName,
- const StringType &iconpath, const StringType &buttonDescription,
+ const wxBitmap &icon, const StringType &buttonDescription,
FunctionEventType event );
// ----------------------------------------------------------------------------------
/*! @fn void AddButton( BCSettingsStruct* info );
*/
void
AddButtons( BCStructVectorType infoList );
+
+ // ----------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------
private:
ButtonGroupMap m_ButtonGroupContainer; //! <The container with the group of buttons.
KeyMapList m_GroupNameList; //! <The container with the name of the groups of buttons.
+
};
}
}