ContainerSettings::~ContainerSettings( )
{
}
+
// ----------------------------------------------------------------------------------
ButtonGroupMap
ContainerSettings::GetButtonGroupContainer( )
{
return ( this->m_GroupNameList );
}
+
// ----------------------------------------------------------------------------------
void
- ContainerSettings::SetButtonGroupContainer( ButtonGroupMap bgContainer )
+ ContainerSettings::SetButtonGroupContainer(ButtonGroupMap bgContainer)
{
this->m_ButtonGroupContainer = bgContainer;
}
{
this->m_GroupNameList = gNameList;
}
+
// ----------------------------------------------------------------------------------
+
+
void
ContainerSettings::AddButton( const StringType & groupName,
- const StringType &buttonName, const StringType &iconpath,
+ const StringType &buttonName, const wxBitmap &icon,
const StringType &buttonDescription, FunctionEventType event )
{
+ std::cout<< std::endl<<"MLER CLASS : ContainerSettings" << std::endl;
+ std::cout<< std::endl<<"MLER ContainerSettings // AddButton "<<std::endl;
+
+
ButtonPair* pair = new ButtonPair(
- new ButtonInfo( buttonName, iconpath ),
+ new ButtonInfo( buttonName, icon ),
new ButtonAction( buttonDescription, event ) );
try
{
{
if ( ( *it ).compare( groupName ) == 0 )
{
+ std::cout<<"MLER ContainerSettings // AddButton : it "<<*it <<std::endl;
+
this->m_ButtonGroupContainer[ groupName ].push_back( pair );
return;
}//fi
ContainerSettings::AddButton( BCSettingsStruct* info )
{
ButtonPair* pair = new ButtonPair(
- new ButtonInfo( info->buttonName, info->iconpath ),
+ new ButtonInfo( info->buttonName, info->icon ),
new ButtonAction( info->buttonDescription, info->eventFunction ) );
try
{
<< "exception: " << e.what( ) << std::endl;
}//hctac
}
+
+
// ----------------------------------------------------------------------------------
}//ecapseman
}//ecapseman