Loading common/common.cpp +12 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,10 @@ wxString ReturnUnitSymbol( EDA_UNITS_T aUnit, const wxString& formatString ) case UNSCALED_UNITS: break; case DEGREES: wxASSERT( false ); break; } if( formatString.IsEmpty() ) Loading Loading @@ -174,6 +178,10 @@ wxString GetUnitsLabel( EDA_UNITS_T aUnit ) case UNSCALED_UNITS: label = _( "units" ); break; case DEGREES: wxASSERT( false ); break; } return label; Loading @@ -196,6 +204,10 @@ wxString GetAbbreviatedUnitsLabel( EDA_UNITS_T aUnit ) case UNSCALED_UNITS: break; case DEGREES: wxASSERT( false ); break; } return label; Loading eeschema/sch_base_frame.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -160,6 +160,10 @@ void SCH_BASE_FRAME::UpdateStatusBar() absformatter = wxT( "X %f Y %f" ); locformatter = wxT( "dx %f dy %f d %f" ); break; case DEGREES: wxASSERT( false ); break; } line.Printf( absformatter, dXpos, dYpos ); Loading gerbview/gerbview_frame.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -846,6 +846,10 @@ void GERBVIEW_FRAME::UpdateStatusBar() case UNSCALED_UNITS: formatter = wxT( "Ro %f Th %f" ); break; case DEGREES: wxASSERT( false ); break; } line.Printf( formatter, To_User_Unit( g_UserUnit, ro ), theta ); Loading Loading @@ -875,6 +879,10 @@ void GERBVIEW_FRAME::UpdateStatusBar() absformatter = wxT( "X %f Y %f" ); locformatter = wxT( "dx %f dy %f d %f" ); break; case DEGREES: wxASSERT( false ); break; } line.Printf( absformatter, dXpos, dYpos ); Loading pagelayout_editor/pl_editor_frame.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -474,6 +474,10 @@ void PL_EDITOR_FRAME::UpdateStatusBar() case UNSCALED_UNITS: SetStatusText( wxEmptyString, 5 ); break; case DEGREES: wxASSERT( false ); break; } wxString line; Loading pcbnew/basepcbframe.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -677,6 +677,10 @@ void PCB_BASE_FRAME::UpdateStatusBar() case UNSCALED_UNITS: formatter = wxT( "Ro %f Th %f" ); break; case DEGREES: wxASSERT( false ); break; } line.Printf( formatter, To_User_Unit( g_UserUnit, ro ), theta ); Loading Loading @@ -707,6 +711,10 @@ void PCB_BASE_FRAME::UpdateStatusBar() absformatter = wxT( "X %f Y %f" ); locformatter = wxT( "dx %f dy %f dist %f" ); break; case DEGREES: wxASSERT( false ); break; } line.Printf( absformatter, dXpos, dYpos ); Loading Loading
common/common.cpp +12 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,10 @@ wxString ReturnUnitSymbol( EDA_UNITS_T aUnit, const wxString& formatString ) case UNSCALED_UNITS: break; case DEGREES: wxASSERT( false ); break; } if( formatString.IsEmpty() ) Loading Loading @@ -174,6 +178,10 @@ wxString GetUnitsLabel( EDA_UNITS_T aUnit ) case UNSCALED_UNITS: label = _( "units" ); break; case DEGREES: wxASSERT( false ); break; } return label; Loading @@ -196,6 +204,10 @@ wxString GetAbbreviatedUnitsLabel( EDA_UNITS_T aUnit ) case UNSCALED_UNITS: break; case DEGREES: wxASSERT( false ); break; } return label; Loading
eeschema/sch_base_frame.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -160,6 +160,10 @@ void SCH_BASE_FRAME::UpdateStatusBar() absformatter = wxT( "X %f Y %f" ); locformatter = wxT( "dx %f dy %f d %f" ); break; case DEGREES: wxASSERT( false ); break; } line.Printf( absformatter, dXpos, dYpos ); Loading
gerbview/gerbview_frame.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -846,6 +846,10 @@ void GERBVIEW_FRAME::UpdateStatusBar() case UNSCALED_UNITS: formatter = wxT( "Ro %f Th %f" ); break; case DEGREES: wxASSERT( false ); break; } line.Printf( formatter, To_User_Unit( g_UserUnit, ro ), theta ); Loading Loading @@ -875,6 +879,10 @@ void GERBVIEW_FRAME::UpdateStatusBar() absformatter = wxT( "X %f Y %f" ); locformatter = wxT( "dx %f dy %f d %f" ); break; case DEGREES: wxASSERT( false ); break; } line.Printf( absformatter, dXpos, dYpos ); Loading
pagelayout_editor/pl_editor_frame.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -474,6 +474,10 @@ void PL_EDITOR_FRAME::UpdateStatusBar() case UNSCALED_UNITS: SetStatusText( wxEmptyString, 5 ); break; case DEGREES: wxASSERT( false ); break; } wxString line; Loading
pcbnew/basepcbframe.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -677,6 +677,10 @@ void PCB_BASE_FRAME::UpdateStatusBar() case UNSCALED_UNITS: formatter = wxT( "Ro %f Th %f" ); break; case DEGREES: wxASSERT( false ); break; } line.Printf( formatter, To_User_Unit( g_UserUnit, ro ), theta ); Loading Loading @@ -707,6 +711,10 @@ void PCB_BASE_FRAME::UpdateStatusBar() absformatter = wxT( "X %f Y %f" ); locformatter = wxT( "dx %f dy %f dist %f" ); break; case DEGREES: wxASSERT( false ); break; } line.Printf( absformatter, dXpos, dYpos ); Loading