73 bool show_dlg_modal =
true;
81 show_dlg_modal =
false;
133 bool aReportAllTrackErrors,
bool aTestFootprints )
144 bool netlistFetched =
false;
151 aProgressReporter->
AdvancePhase(
_(
"Refilling all zones..." ) );
158 if( aTestFootprints && !
Kiface().IsSingle() )
160 if(
m_editFrame->FetchNetlistFromSchematic(
netlist,
_(
"Schematic parity tests require a "
161 "fully annotated schematic." ) ) )
163 netlistFetched =
true;
172 m_drcEngine->SetProgressReporter( aProgressReporter );
175 [&](
const std::shared_ptr<DRC_ITEM>& aItem,
VECTOR2I aPos,
int aLayer,
176 const std::vector<PCB_SHAPE>& aShapes )
180 commit.Add( marker );
193 if( aTestFootprints && netlistFetched )
213 m_editFrame->ResolveDRCExclusions( aDRCWasCancelled );
KIFACE_BASE & Kiface()
Global KIFACE_BASE "get" accessor.
static TOOL_ACTION excludeMarker
static TOOL_ACTION nextMarker
static TOOL_ACTION prevMarker
static TOOL_ACTION selectionClear
Clear the current selection.
static const TOOL_EVENT SelectedEvent
static const TOOL_EVENT PointSelectedEvent
Store information read from a netlist along with the flags used to update the NETLIST in the BOARD.
static TOOL_ACTION runDRC
void SetShapes(const std::vector< PCB_SHAPE > &aShapes)
A progress reporter interface for use in multi-threaded environments.
virtual bool IsCancelled() const =0
virtual void AdvancePhase()=0
Use the next available virtual zone of the dialog progress bar.
This file contains miscellaneous commonly used macros and functions.
@ PCB_MARKER_T
class PCB_MARKER, a marker used to show something
VECTOR2< int32_t > VECTOR2I