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
98efdaea5e
commit
9d3646ced1
@ -2293,10 +2293,14 @@ static PCB_TEXT* getMatchingTextItem( PCB_TEXT* aRefItem, FOOTPRINT* aFootprint
|
|||||||
|
|
||||||
|
|
||||||
void PCB_EDIT_FRAME::ExchangeFootprint( FOOTPRINT* aExisting, FOOTPRINT* aNew,
|
void PCB_EDIT_FRAME::ExchangeFootprint( FOOTPRINT* aExisting, FOOTPRINT* aNew,
|
||||||
BOARD_COMMIT& aCommit, bool deleteExtraTexts,
|
BOARD_COMMIT& aCommit,
|
||||||
bool resetTextLayers, bool resetTextEffects,
|
bool deleteExtraTexts,
|
||||||
bool resetTextContent, bool resetFabricationAttrs,
|
bool resetTextLayers,
|
||||||
bool resetClearanceOverrides, bool reset3DModels,
|
bool resetTextEffects,
|
||||||
|
bool resetTextContent,
|
||||||
|
bool resetFabricationAttrs,
|
||||||
|
bool resetClearanceOverrides,
|
||||||
|
bool reset3DModels,
|
||||||
bool* aUpdated )
|
bool* aUpdated )
|
||||||
{
|
{
|
||||||
EDA_GROUP* parentGroup = aExisting->GetParentGroup();
|
EDA_GROUP* parentGroup = aExisting->GetParentGroup();
|
||||||
@ -2687,8 +2691,10 @@ void PCB_EDIT_FRAME::onSize( wxSizeEvent& aEvent )
|
|||||||
DIALOG_BOOK_REPORTER* PCB_EDIT_FRAME::GetInspectDrcErrorDialog()
|
DIALOG_BOOK_REPORTER* PCB_EDIT_FRAME::GetInspectDrcErrorDialog()
|
||||||
{
|
{
|
||||||
if( !m_inspectDrcErrorDlg )
|
if( !m_inspectDrcErrorDlg )
|
||||||
|
{
|
||||||
m_inspectDrcErrorDlg = new DIALOG_BOOK_REPORTER( this, INSPECT_DRC_ERROR_DIALOG_NAME,
|
m_inspectDrcErrorDlg = new DIALOG_BOOK_REPORTER( this, INSPECT_DRC_ERROR_DIALOG_NAME,
|
||||||
_( "Violation Report" ) );
|
_( "Violation Report" ) );
|
||||||
|
}
|
||||||
|
|
||||||
return m_inspectDrcErrorDlg;
|
return m_inspectDrcErrorDlg;
|
||||||
}
|
}
|
||||||
@ -2697,8 +2703,10 @@ DIALOG_BOOK_REPORTER* PCB_EDIT_FRAME::GetInspectDrcErrorDialog()
|
|||||||
DIALOG_BOOK_REPORTER* PCB_EDIT_FRAME::GetInspectClearanceDialog()
|
DIALOG_BOOK_REPORTER* PCB_EDIT_FRAME::GetInspectClearanceDialog()
|
||||||
{
|
{
|
||||||
if( !m_inspectClearanceDlg )
|
if( !m_inspectClearanceDlg )
|
||||||
|
{
|
||||||
m_inspectClearanceDlg = new DIALOG_BOOK_REPORTER( this, INSPECT_CLEARANCE_DIALOG_NAME,
|
m_inspectClearanceDlg = new DIALOG_BOOK_REPORTER( this, INSPECT_CLEARANCE_DIALOG_NAME,
|
||||||
_( "Clearance Report" ) );
|
_( "Clearance Report" ) );
|
||||||
|
}
|
||||||
|
|
||||||
return m_inspectClearanceDlg;
|
return m_inspectClearanceDlg;
|
||||||
}
|
}
|
||||||
@ -2707,8 +2715,10 @@ DIALOG_BOOK_REPORTER* PCB_EDIT_FRAME::GetInspectClearanceDialog()
|
|||||||
DIALOG_BOOK_REPORTER* PCB_EDIT_FRAME::GetInspectConstraintsDialog()
|
DIALOG_BOOK_REPORTER* PCB_EDIT_FRAME::GetInspectConstraintsDialog()
|
||||||
{
|
{
|
||||||
if( !m_inspectConstraintsDlg )
|
if( !m_inspectConstraintsDlg )
|
||||||
|
{
|
||||||
m_inspectConstraintsDlg = new DIALOG_BOOK_REPORTER( this, INSPECT_CONSTRAINTS_DIALOG_NAME,
|
m_inspectConstraintsDlg = new DIALOG_BOOK_REPORTER( this, INSPECT_CONSTRAINTS_DIALOG_NAME,
|
||||||
_( "Constraints Report" ) );
|
_( "Constraints Report" ) );
|
||||||
|
}
|
||||||
|
|
||||||
return m_inspectConstraintsDlg;
|
return m_inspectConstraintsDlg;
|
||||||
}
|
}
|
||||||
@ -2717,8 +2727,10 @@ DIALOG_BOOK_REPORTER* PCB_EDIT_FRAME::GetInspectConstraintsDialog()
|
|||||||
DIALOG_BOOK_REPORTER* PCB_EDIT_FRAME::GetFootprintDiffDialog()
|
DIALOG_BOOK_REPORTER* PCB_EDIT_FRAME::GetFootprintDiffDialog()
|
||||||
{
|
{
|
||||||
if( !m_footprintDiffDlg )
|
if( !m_footprintDiffDlg )
|
||||||
|
{
|
||||||
m_footprintDiffDlg = new DIALOG_BOOK_REPORTER( this, FOOTPRINT_DIFF_DIALOG_NAME,
|
m_footprintDiffDlg = new DIALOG_BOOK_REPORTER( this, FOOTPRINT_DIFF_DIALOG_NAME,
|
||||||
_( "Compare Footprint with Library" ) );
|
_( "Compare Footprint with Library" ) );
|
||||||
|
}
|
||||||
|
|
||||||
return m_footprintDiffDlg;
|
return m_footprintDiffDlg;
|
||||||
}
|
}
|
||||||
|
@ -522,10 +522,14 @@ public:
|
|||||||
* @param aCommit commit that should store the changes.
|
* @param aCommit commit that should store the changes.
|
||||||
*/
|
*/
|
||||||
void ExchangeFootprint( FOOTPRINT* aExisting, FOOTPRINT* aNew, BOARD_COMMIT& aCommit,
|
void ExchangeFootprint( FOOTPRINT* aExisting, FOOTPRINT* aNew, BOARD_COMMIT& aCommit,
|
||||||
bool deleteExtraTexts = true, bool resetTextLayers = true,
|
bool deleteExtraTexts = true,
|
||||||
bool resetTextEffects = true, bool resetFabricationAttrs = true,
|
bool resetTextLayers = true,
|
||||||
bool resetTextContent = true, bool resetClearanceOverrides = true,
|
bool resetTextEffects = true,
|
||||||
bool reset3DModels = true, bool* aUpdated = nullptr );
|
bool resetFabricationAttrs = true,
|
||||||
|
bool resetTextContent = true,
|
||||||
|
bool resetClearanceOverrides = true,
|
||||||
|
bool reset3DModels = true,
|
||||||
|
bool* aUpdated = nullptr );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Install the corresponding dialog editor for the given item.
|
* Install the corresponding dialog editor for the given item.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user