Formatting.
This commit is contained in:
parent
9d9344a815
commit
dc838bc50f
|
@ -28,13 +28,17 @@
|
|||
#include <i18n_utility.h>
|
||||
|
||||
PCB_FIELD::PCB_FIELD( FOOTPRINT* aParent, int aFieldId, const wxString& aName ) :
|
||||
PCB_TEXT( aParent, PCB_FIELD_T ), m_id( aFieldId ), m_name( aName )
|
||||
PCB_TEXT( aParent, PCB_FIELD_T ),
|
||||
m_id( aFieldId ),
|
||||
m_name( aName )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
PCB_FIELD::PCB_FIELD( const PCB_TEXT& aText, int aFieldId, const wxString& aName ) :
|
||||
PCB_TEXT( aText ), m_id( aFieldId ), m_name( aName )
|
||||
PCB_TEXT( aText ),
|
||||
m_id( aFieldId ),
|
||||
m_name( aName )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -130,6 +134,7 @@ wxString PCB_FIELD::GetItemDescription( UNITS_PROVIDER* aUnitsProvider ) const
|
|||
return wxEmptyString;
|
||||
}
|
||||
|
||||
|
||||
double PCB_FIELD::ViewGetLOD( int aLayer, KIGFX::VIEW* aView ) const
|
||||
{
|
||||
constexpr double HIDE = std::numeric_limits<double>::max();
|
||||
|
|
|
@ -3089,9 +3089,9 @@ void PCB_PARSER::parsePCB_TEXT_effects( PCB_TEXT* aText )
|
|||
|
||||
if( (int) token != DSN_RIGHT )
|
||||
Expecting( DSN_RIGHT );
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case T_layer:
|
||||
aText->SetLayer( parseBoardItemLayer() );
|
||||
|
@ -3123,9 +3123,13 @@ void PCB_PARSER::parsePCB_TEXT_effects( PCB_TEXT* aText )
|
|||
|
||||
break;
|
||||
|
||||
case T_effects: parseEDA_TEXT( static_cast<EDA_TEXT*>( aText ) ); break;
|
||||
case T_effects:
|
||||
parseEDA_TEXT( static_cast<EDA_TEXT*>( aText ) );
|
||||
break;
|
||||
|
||||
case T_render_cache: parseRenderCache( static_cast<EDA_TEXT*>( aText ) ); break;
|
||||
case T_render_cache:
|
||||
parseRenderCache( static_cast<EDA_TEXT*>( aText ) );
|
||||
break;
|
||||
|
||||
default:
|
||||
if( parentFP )
|
||||
|
|
Loading…
Reference in New Issue