Loading pcbnew/attribut.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -40,7 +40,7 @@ void PCB_EDIT_FRAME::Attribut_Track( TRACK* track, wxDC* DC, bool Flag_On ) return; return; DrawPanel->CrossHairOff( DC ); // Erase cursor shape DrawPanel->CrossHairOff( DC ); // Erase cursor shape Track = Marque_Une_Piste( GetBoard(), track, &nb_segm, NULL, true ); Track = Marque_Une_Piste( GetBoard(), track, &nb_segm, NULL, NULL, true ); Trace_Une_Piste( DrawPanel, DC, Track, nb_segm, GR_OR | GR_SURBRILL ); Trace_Une_Piste( DrawPanel, DC, Track, nb_segm, GR_OR | GR_SURBRILL ); for( ; (Track != NULL) && (nb_segm > 0); nb_segm-- ) for( ; (Track != NULL) && (nb_segm > 0); nb_segm-- ) Loading pcbnew/class_netinfo_item.cpp +6 −6 Original line number Original line Diff line number Diff line Loading @@ -169,17 +169,17 @@ void NETINFO_ITEM::DisplayInfo( EDA_DRAW_FRAME* frame ) txt.Printf( wxT( "%d" ), count ); txt.Printf( wxT( "%d" ), count ); frame->AppendMsgPanel( _( "Vias" ), txt, BLUE ); frame->AppendMsgPanel( _( "Vias" ), txt, BLUE ); // Displays the full net lenght (tacks on pcb + internal ICs connections ): // Displays the full net lenght (tracks on pcb + internal ICs connections ): valeur_param( (int) (lengthnet + lengthdie), txt ); txt = frame->CoordinateToString( lengthnet + lengthdie ); frame->AppendMsgPanel( _( "Net Length:" ), txt, RED ); frame->AppendMsgPanel( _( "Net Length:" ), txt, RED ); // Displays the net lenght of tracks only: // Displays the net lenght of tracks only: valeur_param( (int) lengthnet, txt ); txt = frame->CoordinateToString( lengthnet ); frame->AppendMsgPanel( _( "on pcb" ), txt, RED ); frame->AppendMsgPanel( _( "On Board" ), txt, RED ); // Displays the net lenght of internal ICs connections (wires inside ICs): // Displays the net lenght of internal ICs connections (wires inside ICs): valeur_param( (int) lengthdie, txt ); txt = frame->CoordinateToString( lengthdie ); frame->AppendMsgPanel( _( "on die" ), txt, RED ); frame->AppendMsgPanel( _( "On Die" ), txt, RED ); } } Loading pcbnew/class_track.cpp +11 −2 Original line number Original line Diff line number Diff line Loading @@ -997,9 +997,18 @@ void TRACK::DisplayInfo( EDA_DRAW_FRAME* frame ) if( frame->m_Ident == PCB_FRAME ) if( frame->m_Ident == PCB_FRAME ) { { int trackLen = 0; int trackLen = 0; Marque_Une_Piste( board, this, NULL, &trackLen, false ); int lenDie = 0; Marque_Une_Piste( board, this, NULL, &trackLen, &lenDie, false ); msg = frame->CoordinateToString( trackLen ); msg = frame->CoordinateToString( trackLen ); frame->AppendMsgPanel( _( "Track Length" ), msg, DARKCYAN ); frame->AppendMsgPanel( _( "Track Len" ), msg, DARKCYAN ); if( lenDie != 0 ) { msg = frame->CoordinateToString( trackLen + lenDie ); frame->AppendMsgPanel( _( "Full Len" ), msg, DARKCYAN ); msg = frame->CoordinateToString( lenDie ); frame->AppendMsgPanel( _( "On Die" ), msg, DARKCYAN ); } } } NETCLASS* netclass = GetNetClass(); NETCLASS* netclass = GetNetClass(); Loading pcbnew/deltrack.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -180,7 +180,7 @@ void PCB_EDIT_FRAME::Remove_One_Track( wxDC* DC, TRACK* pt_segm ) return; return; TRACK* trackList = Marque_Une_Piste( GetBoard(), pt_segm, TRACK* trackList = Marque_Une_Piste( GetBoard(), pt_segm, &segments_to_delete_count, NULL, true ); &segments_to_delete_count, NULL, NULL, true ); if( segments_to_delete_count == 0 ) if( segments_to_delete_count == 0 ) return; return; Loading pcbnew/edit_track_width.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -150,7 +150,7 @@ void PCB_EDIT_FRAME::Edit_Track_Width( wxDC* aDC, TRACK* aTrackSegment ) if( aTrackSegment == NULL ) if( aTrackSegment == NULL ) return; return; pt_track = Marque_Une_Piste( GetBoard(), aTrackSegment, &nb_segm, NULL, true ); pt_track = Marque_Une_Piste( GetBoard(), aTrackSegment, &nb_segm, NULL, NULL, true ); PICKED_ITEMS_LIST itemsListPicker; PICKED_ITEMS_LIST itemsListPicker; bool change = false; bool change = false; Loading Loading
pcbnew/attribut.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -40,7 +40,7 @@ void PCB_EDIT_FRAME::Attribut_Track( TRACK* track, wxDC* DC, bool Flag_On ) return; return; DrawPanel->CrossHairOff( DC ); // Erase cursor shape DrawPanel->CrossHairOff( DC ); // Erase cursor shape Track = Marque_Une_Piste( GetBoard(), track, &nb_segm, NULL, true ); Track = Marque_Une_Piste( GetBoard(), track, &nb_segm, NULL, NULL, true ); Trace_Une_Piste( DrawPanel, DC, Track, nb_segm, GR_OR | GR_SURBRILL ); Trace_Une_Piste( DrawPanel, DC, Track, nb_segm, GR_OR | GR_SURBRILL ); for( ; (Track != NULL) && (nb_segm > 0); nb_segm-- ) for( ; (Track != NULL) && (nb_segm > 0); nb_segm-- ) Loading
pcbnew/class_netinfo_item.cpp +6 −6 Original line number Original line Diff line number Diff line Loading @@ -169,17 +169,17 @@ void NETINFO_ITEM::DisplayInfo( EDA_DRAW_FRAME* frame ) txt.Printf( wxT( "%d" ), count ); txt.Printf( wxT( "%d" ), count ); frame->AppendMsgPanel( _( "Vias" ), txt, BLUE ); frame->AppendMsgPanel( _( "Vias" ), txt, BLUE ); // Displays the full net lenght (tacks on pcb + internal ICs connections ): // Displays the full net lenght (tracks on pcb + internal ICs connections ): valeur_param( (int) (lengthnet + lengthdie), txt ); txt = frame->CoordinateToString( lengthnet + lengthdie ); frame->AppendMsgPanel( _( "Net Length:" ), txt, RED ); frame->AppendMsgPanel( _( "Net Length:" ), txt, RED ); // Displays the net lenght of tracks only: // Displays the net lenght of tracks only: valeur_param( (int) lengthnet, txt ); txt = frame->CoordinateToString( lengthnet ); frame->AppendMsgPanel( _( "on pcb" ), txt, RED ); frame->AppendMsgPanel( _( "On Board" ), txt, RED ); // Displays the net lenght of internal ICs connections (wires inside ICs): // Displays the net lenght of internal ICs connections (wires inside ICs): valeur_param( (int) lengthdie, txt ); txt = frame->CoordinateToString( lengthdie ); frame->AppendMsgPanel( _( "on die" ), txt, RED ); frame->AppendMsgPanel( _( "On Die" ), txt, RED ); } } Loading
pcbnew/class_track.cpp +11 −2 Original line number Original line Diff line number Diff line Loading @@ -997,9 +997,18 @@ void TRACK::DisplayInfo( EDA_DRAW_FRAME* frame ) if( frame->m_Ident == PCB_FRAME ) if( frame->m_Ident == PCB_FRAME ) { { int trackLen = 0; int trackLen = 0; Marque_Une_Piste( board, this, NULL, &trackLen, false ); int lenDie = 0; Marque_Une_Piste( board, this, NULL, &trackLen, &lenDie, false ); msg = frame->CoordinateToString( trackLen ); msg = frame->CoordinateToString( trackLen ); frame->AppendMsgPanel( _( "Track Length" ), msg, DARKCYAN ); frame->AppendMsgPanel( _( "Track Len" ), msg, DARKCYAN ); if( lenDie != 0 ) { msg = frame->CoordinateToString( trackLen + lenDie ); frame->AppendMsgPanel( _( "Full Len" ), msg, DARKCYAN ); msg = frame->CoordinateToString( lenDie ); frame->AppendMsgPanel( _( "On Die" ), msg, DARKCYAN ); } } } NETCLASS* netclass = GetNetClass(); NETCLASS* netclass = GetNetClass(); Loading
pcbnew/deltrack.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -180,7 +180,7 @@ void PCB_EDIT_FRAME::Remove_One_Track( wxDC* DC, TRACK* pt_segm ) return; return; TRACK* trackList = Marque_Une_Piste( GetBoard(), pt_segm, TRACK* trackList = Marque_Une_Piste( GetBoard(), pt_segm, &segments_to_delete_count, NULL, true ); &segments_to_delete_count, NULL, NULL, true ); if( segments_to_delete_count == 0 ) if( segments_to_delete_count == 0 ) return; return; Loading
pcbnew/edit_track_width.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -150,7 +150,7 @@ void PCB_EDIT_FRAME::Edit_Track_Width( wxDC* aDC, TRACK* aTrackSegment ) if( aTrackSegment == NULL ) if( aTrackSegment == NULL ) return; return; pt_track = Marque_Une_Piste( GetBoard(), aTrackSegment, &nb_segm, NULL, true ); pt_track = Marque_Une_Piste( GetBoard(), aTrackSegment, &nb_segm, NULL, NULL, true ); PICKED_ITEMS_LIST itemsListPicker; PICKED_ITEMS_LIST itemsListPicker; bool change = false; bool change = false; Loading