support for micro vias. small problem in zone detection solved
This commit is contained in:
parent
7d676fbfd3
commit
a3ea4268df
|
@ -17,10 +17,16 @@ using namespace std;
|
|||
|
||||
|
||||
/* Local Functions */
|
||||
/* Compare function used for sorting holes by increasing diameter value */
|
||||
/* Compare function used for sorting holes by increasing diameter value
|
||||
* and X value
|
||||
*/
|
||||
static bool CmpHoleDiameterValue( const HOLE_INFO& a, const HOLE_INFO& b )
|
||||
{
|
||||
return a.m_Hole_Diameter < b.m_Hole_Diameter;
|
||||
if ( a.m_Hole_Diameter != b.m_Hole_Diameter )
|
||||
return a.m_Hole_Diameter < b.m_Hole_Diameter;
|
||||
if ( a.m_Hole_Pos_X != b.m_Hole_Pos_X )
|
||||
return a.m_Hole_Pos_X < b.m_Hole_Pos_X;
|
||||
return a.m_Hole_Pos_Y < b.m_Hole_Pos_Y;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -522,6 +522,7 @@ int WinEDA_DrillFrame::Create_Drill_File_EXCELLON( std::vector<HOLE_INFO>& aHol
|
|||
Gen_Line_EXCELLON( line, xt, yt );
|
||||
else
|
||||
Gen_Line_EXCELLON( line, xt * 10, yt * 10 );
|
||||
fputs( line, dest );
|
||||
fputs( "G05\n", dest );
|
||||
holes_count++;
|
||||
}
|
||||
|
|
|
@ -684,8 +684,10 @@ WinEDAChoiceBox* WinEDA_PcbFrame::ReCreateLayerBox( WinEDA_Toolbar* parent )
|
|||
jj++;
|
||||
}
|
||||
}
|
||||
int lchar = m_SelLayerBox->GetFont().GetPointSize();
|
||||
m_SelLayerBox->SetSize(wxSize(lenght * lchar,-1));
|
||||
// Test me:
|
||||
// int lchar = m_SelLayerBox->GetFont().GetPointSize();
|
||||
// m_SelLayerBox->SetSize(wxSize(lenght * lchar,-1));
|
||||
|
||||
m_SelLayerBox->SetToolTip( _( "+/- to switch" ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue