Another set of color msgpanel items stripped

This commit is contained in:
Marek Roszko 2020-12-08 00:52:21 -05:00
parent cbda1d7bf1
commit 9407e6dc83
3 changed files with 9 additions and 9 deletions

View File

@ -687,7 +687,7 @@ void GERBER_DRAW_ITEM::GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_
text = apertDescr->m_AperFunction;
}
aList.emplace_back( msg, text, RED );
aList.emplace_back( msg, text );
// Display graphic layer name
msg = GERBER_FILE_IMAGE_LIST::GetImagesList().GetDisplayName( GetLayer(), true );

View File

@ -1082,22 +1082,22 @@ void BOARD::GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_PANEL_ITEM>
}
txt.Printf( wxT( "%d" ), GetPadCount() );
aList.emplace_back( _( "Pads" ), txt, DARKGREEN );
aList.emplace_back( _( "Pads" ), txt );
txt.Printf( wxT( "%d" ), viasCount );
aList.emplace_back( _( "Vias" ), txt, DARKGREEN );
aList.emplace_back( _( "Vias" ), txt );
txt.Printf( wxT( "%d" ), trackSegmentsCount );
aList.emplace_back( _( "Track Segments" ), txt, DARKGREEN );
aList.emplace_back( _( "Track Segments" ), txt );
txt.Printf( wxT( "%d" ), GetNodesCount() );
aList.emplace_back( _( "Nodes" ), txt, DARKCYAN );
aList.emplace_back( _( "Nodes" ), txt );
txt.Printf( wxT( "%d" ), m_NetInfo.GetNetCount() - 1 /* Don't include "No Net" in count */ );
aList.emplace_back( _( "Nets" ), txt, RED );
aList.emplace_back( _( "Nets" ), txt );
txt.Printf( wxT( "%d" ), GetConnectivity()->GetUnconnectedCount() );
aList.emplace_back( _( "Unrouted" ), txt, BLUE );
aList.emplace_back( _( "Unrouted" ), txt );
}

View File

@ -699,12 +699,12 @@ void TRACK::GetMsgPanelInfoBase_Common( EDA_DRAW_FRAME* aFrame, std::vector<MSG_
{
// Display net code:
msg.Printf( wxT( "%d" ), GetNetCode() );
aList.emplace_back( _( "NetCode" ), msg, RED );
aList.emplace_back( _( "NetCode" ), msg );
}
// Display the flags:
msg.Printf( wxT( "0x%08X" ), m_flags );
aList.emplace_back( wxT( "Flags" ), msg, BLUE );
aList.emplace_back( wxT( "Flags" ), msg );
// Display start and end positions:
msg.Printf( wxT( "%d %d" ), m_Start.x, m_Start.y );