Hide some irrelevant properties from DRC rule editor
- Fill_Color - Line_Color - Thermal_Spoke_Template - Number_Box
This commit is contained in:
parent
1345735532
commit
13a2c6b017
|
@ -1925,7 +1925,8 @@ static struct EDA_SHAPE_DESC
|
|||
_HKI( "Line Style" ), lineStyleSetter, &EDA_SHAPE::GetLineStyle ) );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<EDA_SHAPE, COLOR4D>( _HKI( "Line Color" ),
|
||||
&EDA_SHAPE::SetLineColor, &EDA_SHAPE::GetLineColor ) );
|
||||
&EDA_SHAPE::SetLineColor, &EDA_SHAPE::GetLineColor ) )
|
||||
.SetIsHiddenFromRulesEditor();
|
||||
|
||||
auto angle = new PROPERTY<EDA_SHAPE, EDA_ANGLE>( _HKI( "Angle" ),
|
||||
NO_SETTER( EDA_SHAPE, EDA_ANGLE ), &EDA_SHAPE::GetArcAngle,
|
||||
|
@ -1966,6 +1967,7 @@ static struct EDA_SHAPE_DESC
|
|||
|
||||
propMgr.AddProperty( new PROPERTY<EDA_SHAPE, COLOR4D>( _HKI( "Fill Color" ),
|
||||
&EDA_SHAPE::SetFillColor, &EDA_SHAPE::GetFillColor ) )
|
||||
.SetAvailableFunc( fillAvailable );
|
||||
.SetAvailableFunc( fillAvailable )
|
||||
.SetIsHiddenFromRulesEditor();
|
||||
}
|
||||
} _EDA_SHAPE_DESC;
|
||||
|
|
|
@ -744,12 +744,14 @@ static struct PCB_SHAPE_DESC
|
|||
&PCB_SHAPE::SetIsProxyItem,
|
||||
&PCB_SHAPE::IsProxyItem ),
|
||||
groupPadPrimitives )
|
||||
.SetAvailableFunc( showNumberBoxProperty );
|
||||
.SetAvailableFunc( showNumberBoxProperty )
|
||||
.SetIsHiddenFromRulesEditor();
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<PCB_SHAPE, bool>( _HKI( "Thermal Spoke Template" ),
|
||||
&PCB_SHAPE::SetIsProxyItem,
|
||||
&PCB_SHAPE::IsProxyItem ),
|
||||
groupPadPrimitives )
|
||||
.SetAvailableFunc( showSpokeTemplateProperty );
|
||||
.SetAvailableFunc( showSpokeTemplateProperty )
|
||||
.SetIsHiddenFromRulesEditor();
|
||||
}
|
||||
} _PCB_SHAPE_DESC;
|
||||
|
|
Loading…
Reference in New Issue