Loading pcbnew/gen_holes_and_tools_lists_for_drill.cpp +8 −2 Original line number Diff line number Diff line Loading @@ -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 ) { 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; } Loading pcbnew/gendrill.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -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++; } Loading pcbnew/tool_pcb.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -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 Loading
pcbnew/gen_holes_and_tools_lists_for_drill.cpp +8 −2 Original line number Diff line number Diff line Loading @@ -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 ) { 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; } Loading
pcbnew/gendrill.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -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++; } Loading
pcbnew/tool_pcb.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -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