Properties: support text knockout
This commit is contained in:
parent
0bc06d506c
commit
a5f7ecbe00
|
@ -341,5 +341,9 @@ static struct PCB_TEXT_DESC
|
|||
propMgr.AddTypeCast( new TYPE_CAST<PCB_TEXT, EDA_TEXT> );
|
||||
propMgr.InheritsAfter( TYPE_HASH( PCB_TEXT ), TYPE_HASH( BOARD_ITEM ) );
|
||||
propMgr.InheritsAfter( TYPE_HASH( PCB_TEXT ), TYPE_HASH( EDA_TEXT ) );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<PCB_TEXT, bool, BOARD_ITEM>( _HKI( "Knockout" ),
|
||||
&BOARD_ITEM::SetIsKnockout, &BOARD_ITEM::IsKnockout ),
|
||||
_HKI( "Text Properties" ) );
|
||||
}
|
||||
} _PCB_TEXT_DESC;
|
||||
|
|
Loading…
Reference in New Issue