Loading eeschema/CMakeLists.txt +0 −1 Original line number Diff line number Diff line Loading @@ -132,7 +132,6 @@ set(EESCHEMA_SRCS sch_line.cpp sch_marker.cpp sch_no_connect.cpp sch_polyline.cpp sch_screen.cpp sch_sheet.cpp sch_sheet_path.cpp Loading eeschema/bus-wire-junction.cpp +0 −27 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ #include <sch_junction.h> #include <sch_line.h> #include <sch_no_connect.h> #include <sch_polyline.h> #include <sch_text.h> #include <sch_component.h> #include <sch_sheet.h> Loading Loading @@ -346,33 +345,7 @@ void SCH_EDIT_FRAME::DeleteCurrentSegment( wxDC* DC ) if( ( screen->GetCurItem() == NULL ) || !screen->GetCurItem()->IsNew() ) return; /* Cancel trace in progress */ if( screen->GetCurItem()->Type() == SCH_POLYLINE_T ) { SCH_POLYLINE* polyLine = (SCH_POLYLINE*) screen->GetCurItem(); wxPoint endpos; endpos = screen->GetCrossHairPosition(); int idx = polyLine->GetCornerCount() - 1; wxPoint pt = (*polyLine)[idx]; if( GetForceHVLines() ) { /* Coerce the line to vertical or horizontal one: */ if( std::abs( endpos.x - pt.x ) < std::abs( endpos.y - pt.y ) ) endpos.x = pt.x; else endpos.y = pt.y; } polyLine->SetPoint( idx, endpos ); polyLine->Draw( m_canvas, DC, wxPoint( 0, 0 ), g_XorMode ); } else { DrawSegment( m_canvas, DC, wxDefaultPosition, false ); } screen->Remove( screen->GetCurItem() ); m_canvas->SetMouseCaptureCallback( NULL ); Loading eeschema/load_one_schematic_file.cpp +0 −5 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ #include <sch_line.h> #include <sch_no_connect.h> #include <sch_component.h> #include <sch_polyline.h> #include <sch_text.h> #include <sch_sheet.h> #include <sch_bitmap.h> Loading Loading @@ -182,10 +181,6 @@ again." ); item = new SCH_BUS_ENTRY(); break; case 'P': // Its a polyline item. item = new SCH_POLYLINE(); break; case 'C': // It is a connection item. item = new SCH_JUNCTION(); break; Loading eeschema/operations_on_items_lists.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ #include <sch_marker.h> #include <sch_line.h> #include <sch_no_connect.h> #include <sch_polyline.h> #include <sch_sheet.h> #include <sch_component.h> #include <sch_junction.h> Loading @@ -25,7 +24,6 @@ void SetSchItemParent( SCH_ITEM* Struct, SCH_SCREEN* Screen ) { switch( Struct->Type() ) { case SCH_POLYLINE_T: case SCH_JUNCTION_T: case SCH_TEXT_T: case SCH_LABEL_T: Loading Loading @@ -185,7 +183,6 @@ void DuplicateItemsInList( SCH_SCREEN* screen, PICKED_ITEMS_LIST& aItemsList, { switch( newitem->Type() ) { case SCH_POLYLINE_T: case SCH_JUNCTION_T: case SCH_LINE_T: case SCH_BUS_ENTRY_T: Loading eeschema/sch_collectors.cpp +0 −5 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ const KICAD_T SCH_COLLECTOR::AllItems[] = { SCH_NO_CONNECT_T, SCH_BUS_ENTRY_T, SCH_LINE_T, SCH_POLYLINE_T, SCH_BITMAP_T, SCH_TEXT_T, SCH_LABEL_T, Loading @@ -62,7 +61,6 @@ const KICAD_T SCH_COLLECTOR::AllItemsButPins[] = { SCH_NO_CONNECT_T, SCH_BUS_ENTRY_T, SCH_LINE_T, SCH_POLYLINE_T, SCH_BITMAP_T, SCH_TEXT_T, SCH_LABEL_T, Loading Loading @@ -111,7 +109,6 @@ const KICAD_T SCH_COLLECTOR::MovableItems[] = { SCH_NO_CONNECT_T, SCH_BUS_ENTRY_T, // SCH_LINE_T, SCH_POLYLINE_T, SCH_BITMAP_T, SCH_TEXT_T, SCH_LABEL_T, Loading @@ -129,7 +126,6 @@ const KICAD_T SCH_COLLECTOR::DraggableItems[] = { SCH_JUNCTION_T, SCH_BUS_ENTRY_T, SCH_LINE_T, SCH_POLYLINE_T, SCH_LABEL_T, SCH_GLOBAL_LABEL_T, SCH_HIERARCHICAL_LABEL_T, Loading Loading @@ -158,7 +154,6 @@ const KICAD_T SCH_COLLECTOR::ParentItems[] = { SCH_NO_CONNECT_T, SCH_BUS_ENTRY_T, SCH_LINE_T, SCH_POLYLINE_T, SCH_TEXT_T, SCH_LABEL_T, SCH_GLOBAL_LABEL_T, Loading Loading
eeschema/CMakeLists.txt +0 −1 Original line number Diff line number Diff line Loading @@ -132,7 +132,6 @@ set(EESCHEMA_SRCS sch_line.cpp sch_marker.cpp sch_no_connect.cpp sch_polyline.cpp sch_screen.cpp sch_sheet.cpp sch_sheet_path.cpp Loading
eeschema/bus-wire-junction.cpp +0 −27 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ #include <sch_junction.h> #include <sch_line.h> #include <sch_no_connect.h> #include <sch_polyline.h> #include <sch_text.h> #include <sch_component.h> #include <sch_sheet.h> Loading Loading @@ -346,33 +345,7 @@ void SCH_EDIT_FRAME::DeleteCurrentSegment( wxDC* DC ) if( ( screen->GetCurItem() == NULL ) || !screen->GetCurItem()->IsNew() ) return; /* Cancel trace in progress */ if( screen->GetCurItem()->Type() == SCH_POLYLINE_T ) { SCH_POLYLINE* polyLine = (SCH_POLYLINE*) screen->GetCurItem(); wxPoint endpos; endpos = screen->GetCrossHairPosition(); int idx = polyLine->GetCornerCount() - 1; wxPoint pt = (*polyLine)[idx]; if( GetForceHVLines() ) { /* Coerce the line to vertical or horizontal one: */ if( std::abs( endpos.x - pt.x ) < std::abs( endpos.y - pt.y ) ) endpos.x = pt.x; else endpos.y = pt.y; } polyLine->SetPoint( idx, endpos ); polyLine->Draw( m_canvas, DC, wxPoint( 0, 0 ), g_XorMode ); } else { DrawSegment( m_canvas, DC, wxDefaultPosition, false ); } screen->Remove( screen->GetCurItem() ); m_canvas->SetMouseCaptureCallback( NULL ); Loading
eeschema/load_one_schematic_file.cpp +0 −5 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ #include <sch_line.h> #include <sch_no_connect.h> #include <sch_component.h> #include <sch_polyline.h> #include <sch_text.h> #include <sch_sheet.h> #include <sch_bitmap.h> Loading Loading @@ -182,10 +181,6 @@ again." ); item = new SCH_BUS_ENTRY(); break; case 'P': // Its a polyline item. item = new SCH_POLYLINE(); break; case 'C': // It is a connection item. item = new SCH_JUNCTION(); break; Loading
eeschema/operations_on_items_lists.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ #include <sch_marker.h> #include <sch_line.h> #include <sch_no_connect.h> #include <sch_polyline.h> #include <sch_sheet.h> #include <sch_component.h> #include <sch_junction.h> Loading @@ -25,7 +24,6 @@ void SetSchItemParent( SCH_ITEM* Struct, SCH_SCREEN* Screen ) { switch( Struct->Type() ) { case SCH_POLYLINE_T: case SCH_JUNCTION_T: case SCH_TEXT_T: case SCH_LABEL_T: Loading Loading @@ -185,7 +183,6 @@ void DuplicateItemsInList( SCH_SCREEN* screen, PICKED_ITEMS_LIST& aItemsList, { switch( newitem->Type() ) { case SCH_POLYLINE_T: case SCH_JUNCTION_T: case SCH_LINE_T: case SCH_BUS_ENTRY_T: Loading
eeschema/sch_collectors.cpp +0 −5 Original line number Diff line number Diff line Loading @@ -41,7 +41,6 @@ const KICAD_T SCH_COLLECTOR::AllItems[] = { SCH_NO_CONNECT_T, SCH_BUS_ENTRY_T, SCH_LINE_T, SCH_POLYLINE_T, SCH_BITMAP_T, SCH_TEXT_T, SCH_LABEL_T, Loading @@ -62,7 +61,6 @@ const KICAD_T SCH_COLLECTOR::AllItemsButPins[] = { SCH_NO_CONNECT_T, SCH_BUS_ENTRY_T, SCH_LINE_T, SCH_POLYLINE_T, SCH_BITMAP_T, SCH_TEXT_T, SCH_LABEL_T, Loading Loading @@ -111,7 +109,6 @@ const KICAD_T SCH_COLLECTOR::MovableItems[] = { SCH_NO_CONNECT_T, SCH_BUS_ENTRY_T, // SCH_LINE_T, SCH_POLYLINE_T, SCH_BITMAP_T, SCH_TEXT_T, SCH_LABEL_T, Loading @@ -129,7 +126,6 @@ const KICAD_T SCH_COLLECTOR::DraggableItems[] = { SCH_JUNCTION_T, SCH_BUS_ENTRY_T, SCH_LINE_T, SCH_POLYLINE_T, SCH_LABEL_T, SCH_GLOBAL_LABEL_T, SCH_HIERARCHICAL_LABEL_T, Loading Loading @@ -158,7 +154,6 @@ const KICAD_T SCH_COLLECTOR::ParentItems[] = { SCH_NO_CONNECT_T, SCH_BUS_ENTRY_T, SCH_LINE_T, SCH_POLYLINE_T, SCH_TEXT_T, SCH_LABEL_T, SCH_GLOBAL_LABEL_T, Loading