mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Formatting.
This commit is contained in:
parent
28141ed350
commit
b98621c8c8
19
pcbnew/pad.h
19
pcbnew/pad.h
@ -303,9 +303,9 @@ public:
|
||||
|
||||
void SetDrillSize( const VECTOR2I& aSize ) { m_padStack.Drill().size = aSize; SetDirty(); }
|
||||
const VECTOR2I& GetDrillSize() const { return m_padStack.Drill().size; }
|
||||
void SetDrillSizeX( const int aX );
|
||||
void SetDrillSizeX( int aX );
|
||||
int GetDrillSizeX() const { return m_padStack.Drill().size.x; }
|
||||
void SetDrillSizeY( const int aY ) { m_padStack.Drill().size.y = aY; SetDirty(); }
|
||||
void SetDrillSizeY( int aY ) { m_padStack.Drill().size.y = aY; SetDirty(); }
|
||||
int GetDrillSizeY() const { return m_padStack.Drill().size.y; }
|
||||
|
||||
void SetOffset( PCB_LAYER_ID aLayer, const VECTOR2I& aOffset )
|
||||
@ -726,8 +726,7 @@ public:
|
||||
*/
|
||||
void SetRemoveUnconnected( bool aSet )
|
||||
{
|
||||
m_padStack.SetUnconnectedLayerMode( aSet
|
||||
? PADSTACK::UNCONNECTED_LAYER_MODE::REMOVE_ALL
|
||||
m_padStack.SetUnconnectedLayerMode( aSet ? PADSTACK::UNCONNECTED_LAYER_MODE::REMOVE_ALL
|
||||
: PADSTACK::UNCONNECTED_LAYER_MODE::KEEP_ALL );
|
||||
}
|
||||
|
||||
@ -742,15 +741,13 @@ public:
|
||||
*/
|
||||
void SetKeepTopBottom( bool aSet )
|
||||
{
|
||||
m_padStack.SetUnconnectedLayerMode( aSet
|
||||
? PADSTACK::UNCONNECTED_LAYER_MODE::REMOVE_EXCEPT_START_AND_END
|
||||
m_padStack.SetUnconnectedLayerMode( aSet ? PADSTACK::UNCONNECTED_LAYER_MODE::REMOVE_EXCEPT_START_AND_END
|
||||
: PADSTACK::UNCONNECTED_LAYER_MODE::REMOVE_ALL );
|
||||
}
|
||||
|
||||
bool GetKeepTopBottom() const
|
||||
{
|
||||
return m_padStack.UnconnectedLayerMode()
|
||||
== PADSTACK::UNCONNECTED_LAYER_MODE::REMOVE_EXCEPT_START_AND_END;
|
||||
return m_padStack.UnconnectedLayerMode() == PADSTACK::UNCONNECTED_LAYER_MODE::REMOVE_EXCEPT_START_AND_END;
|
||||
}
|
||||
|
||||
void SetUnconnectedLayerMode( PADSTACK::UNCONNECTED_LAYER_MODE aMode )
|
||||
@ -910,8 +907,7 @@ public:
|
||||
void SetZoneLayerOverride( PCB_LAYER_ID aLayer, ZONE_LAYER_OVERRIDE aOverride );
|
||||
|
||||
void CheckPad( UNITS_PROVIDER* aUnitsProvider, bool aForPadProperties,
|
||||
const std::function<void( int aErrorCode,
|
||||
const wxString& aMsg )>& aErrorHandler ) const;
|
||||
const std::function<void( int aErrorCode, const wxString& aMsg )>& aErrorHandler ) const;
|
||||
|
||||
double Similarity( const BOARD_ITEM& aOther ) const override;
|
||||
|
||||
@ -929,8 +925,7 @@ private:
|
||||
const SHAPE_COMPOUND& buildEffectiveShape( PCB_LAYER_ID aLayer ) const;
|
||||
|
||||
void doCheckPad( PCB_LAYER_ID aLayer, UNITS_PROVIDER* aUnitsProvider, bool aForPadProperties,
|
||||
const std::function<void( int aErrorCode,
|
||||
const wxString& aMsg )>& aErrorHandler ) const;
|
||||
const std::function<void( int aErrorCode, const wxString& aMsg )>& aErrorHandler ) const;
|
||||
|
||||
private:
|
||||
wxString m_number; // Pad name (pin number in schematic)
|
||||
|
Loading…
x
Reference in New Issue
Block a user