Hide the color prop from pcb editor
This commit is contained in:
parent
740c7a73a2
commit
835500bf1c
|
@ -560,6 +560,8 @@ static struct PCB_TEXT_DESC
|
|||
propMgr.InheritsAfter( TYPE_HASH( PCB_TEXT ), TYPE_HASH( BOARD_ITEM ) );
|
||||
propMgr.InheritsAfter( TYPE_HASH( PCB_TEXT ), TYPE_HASH( EDA_TEXT ) );
|
||||
|
||||
propMgr.Mask( TYPE_HASH( PCB_TEXT ), TYPE_HASH( EDA_TEXT ), _HKI( "Color" ) );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<PCB_TEXT, bool, BOARD_ITEM>( _HKI( "Knockout" ),
|
||||
&BOARD_ITEM::SetIsKnockout, &BOARD_ITEM::IsKnockout ),
|
||||
_HKI( "Text Properties" ) );
|
||||
|
|
|
@ -674,6 +674,7 @@ static struct PCB_TEXTBOX_DESC
|
|||
propMgr.Mask( TYPE_HASH( PCB_TEXTBOX ), TYPE_HASH( EDA_SHAPE ), _HKI( "Line Width" ) );
|
||||
propMgr.Mask( TYPE_HASH( PCB_TEXTBOX ), TYPE_HASH( EDA_SHAPE ), _HKI( "Line Style" ) );
|
||||
propMgr.Mask( TYPE_HASH( PCB_TEXTBOX ), TYPE_HASH( EDA_TEXT ), _HKI( "Visible" ) );
|
||||
propMgr.Mask( TYPE_HASH( PCB_TEXTBOX ), TYPE_HASH( EDA_TEXT ), _HKI( "Color" ) );
|
||||
|
||||
const wxString borderProps = _( "Border Properties" );
|
||||
|
||||
|
|
Loading…
Reference in New Issue