Fill in missing label friendly names.

This commit is contained in:
Jeff Young
2026-01-12 17:45:32 +00:00
parent eb979c026a
commit 2494fb0b64
2 changed files with 25 additions and 0 deletions
+20
View File
@@ -408,6 +408,11 @@ public:
return wxT( "SCH_LABEL" );
}
wxString GetFriendlyName() const override
{
return _( "Label" );
}
const BOX2I GetBodyBoundingBox( const RENDER_SETTINGS* aSettings ) const override;
bool IsConnectable() const override { return true; }
@@ -460,6 +465,11 @@ public:
return wxT( "SCH_DIRECTIVE_LABEL" );
}
wxString GetFriendlyName() const override
{
return _( "Directive Label" );
}
EDA_ITEM* Clone() const override
{
return new SCH_DIRECTIVE_LABEL( *this );
@@ -538,6 +548,11 @@ public:
return wxT( "SCH_GLOBALLABEL" );
}
wxString GetFriendlyName() const override
{
return _( "Global Label" );
}
EDA_ITEM* Clone() const override
{
return new SCH_GLOBALLABEL( *this );
@@ -603,6 +618,11 @@ public:
return aItem && SCH_HIER_LABEL_T == aItem->Type();
}
wxString GetFriendlyName() const override
{
return _( "Hierarchical Label" );
}
wxString GetClass() const override
{
return wxT( "SCH_HIERLABEL" );
+5
View File
@@ -82,6 +82,11 @@ public:
return wxT( "SCH_SHEET_PIN" );
}
wxString GetFriendlyName() const override
{
return _( "Sheet Pin" );
}
bool operator ==( const SCH_SHEET_PIN* aPin ) const;
bool operator!=( const SCH_SHEET_PIN* aRhs ) const { return !( this == aRhs ); }