ButtonContainerSettings* settings = new ButtonContainerSettings( );
printf("EED PanelButtonContainer::Process %d\n", bbGetInputIn( ).size() );
- if(bbGetInputType()== "1")
- {
-//EED-MLER settings->AddItems( bbGetInputIn() );
- }
- else {
- settings->AddButtons( bbGetInputIn() );
- }
+
+ settings->AddButtons(bbGetInputIn( ), bbGetInputType());
PBContainer* panel = new PBContainer( myPanel, settings, bbGetInputType() );
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)