void
PanelButtonContainer::bbUserSetDefaultValues( )
{
- bbSetInputType("0");
+ bbSetInputType(0);
}
//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
void
AddButtons( BCStructVectorType infoList );
- // ----------------------------------------------------------------------------------
- AddItems( BCStructVectorType infoList );*/
-
// ----------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------
private:
}//hctac
}
-
-//EED-MLER
-/*
void
ButtonContainerSettings::AddItems(BCPSettingsStruct* info)
{
}//yrt
catch ( const std::exception& e )
{
-<<<<<<< HEAD
- try
- {
- for( BCStructVectorType::iterator it = infoList.begin( ); it
- != infoList.end( ); ++it )
- {
- this->AddItem(*it);
- }//rof
- }//yrt
- catch ( const std::exception& e )
- {
- std::cerr
- << "ContainerSettings::AddButtons( BCStructVectorType infoList ) "
- << "exception: " << e.what( ) << std::endl;
- }//hctac
- }
-*/
-=======
std::cerr
<< "ButtonContainerSettings::AddButton( BCPSettingsStruct* info )"
<< "exception: " << e.what( ) << std::endl;
return m_itemsMap;
}
->>>>>>> b8c5a565c70ac0def1f21518afa2d847a9582d79
// ----------------------------------------------------------------------------------
}//ecapseman
-
#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.
*/
-
typedef std::map< std::string, wxPanel* > ItemsMap;
-
public:
// ----------------------------------------------------------------------------------
/*! @fn ButtonContainerSettings( );
void
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_ */