Loading common/base_struct.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -539,6 +539,7 @@ EDA_Rect& EDA_Rect::Inflate( int aDelta ) */ { Inflate( aDelta, aDelta ); return *this; } /**************************************************/ Loading cvpcb/dialog_cvpcb_config.cpp +5 −14 Original line number Diff line number Diff line Loading @@ -229,20 +229,11 @@ void DIALOG_CVPCB_CONFIG::OnAddOrInsertLibClick( wxCommandEvent& event ) * because it preserve use of default libraries paths, when the path * is a sub path of these default paths */ if( wxGetApp().GetLibraryPathList().Index( fn.GetPath() ) != wxNOT_FOUND ) // Ok, trivial case libfilename = fn.GetName(); else // not in the default, : see if this file is in a subpath: { libfilename = fn.GetPathWithSep() + fn.GetName(); for( unsigned kk = 0; kk < wxGetApp().GetLibraryPathList().GetCount(); kk++ ) { if( fn.MakeRelativeTo( wxGetApp().GetLibraryPathList()[kk] ) ) { libfilename = fn.GetPathWithSep() + fn.GetName(); break; } } } libfilename = wxGetApp().ReturnFilenameWithRelativePathInLibPath( fn.GetFullPath() ); // Remove extension: fn = libfilename; fn.SetExt(wxEmptyString); libfilename = fn.GetFullPath(); //Add or insert new library name, if not already in list if( list->FindString( libfilename, fn.IsCaseSensitive() ) == wxNOT_FOUND ) Loading eeschema/annotate_dialog.rcdeleted 100644 → 0 +0 −1 Original line number Diff line number Diff line #include "wx/msw/wx.rc" eeschema/classes_body_items.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1247,7 +1247,7 @@ void LIB_SEGMENT::Draw( WinEDA_DrawPanel* aPanel, wxDC* aDC, * bounding box calculation. */ #if 0 EDA_Rect bBox = GetBoundingBox(); bBox.Inflate( m_Width + 2, m_Width + 2 ); bBox.Inflate( m_Width + 2 ); GRRect( &aPanel->m_ClipBox, aDC, bBox.GetOrigin().x, bBox.GetOrigin().y, bBox.GetEnd().x, bBox.GetEnd().y, 0, LIGHTMAGENTA ); #endif Loading eeschema/dialog_eeschema_config.cpp +5 −14 Original line number Diff line number Diff line Loading @@ -242,20 +242,11 @@ void DIALOG_EESCHEMA_CONFIG::OnAddOrInsertLibClick( wxCommandEvent& event ) * because it preserve use of default libraries paths, when the path * is a sub path of these default paths */ if( wxGetApp().GetLibraryPathList().Index( fn.GetPath() ) != wxNOT_FOUND ) // Ok, trivial case libfilename = fn.GetName(); else // not in the default, : see if this file is in a subpath: { libfilename = fn.GetPathWithSep() + fn.GetName(); for ( unsigned kk = 0; kk < wxGetApp().GetLibraryPathList().GetCount(); kk ++ ) { if( fn.MakeRelativeTo(wxGetApp().GetLibraryPathList()[kk] ) ) { libfilename = fn.GetPathWithSep() + fn.GetName(); break; } } } libfilename = wxGetApp().ReturnFilenameWithRelativePathInLibPath( fn.GetFullPath() ); // Remove extension: fn = libfilename; fn.SetExt(wxEmptyString); libfilename = fn.GetFullPath(); //Add or insert new library name, if not already in list if( m_ListLibr->FindString( libfilename, fn.IsCaseSensitive() ) == wxNOT_FOUND ) Loading Loading
common/base_struct.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -539,6 +539,7 @@ EDA_Rect& EDA_Rect::Inflate( int aDelta ) */ { Inflate( aDelta, aDelta ); return *this; } /**************************************************/ Loading
cvpcb/dialog_cvpcb_config.cpp +5 −14 Original line number Diff line number Diff line Loading @@ -229,20 +229,11 @@ void DIALOG_CVPCB_CONFIG::OnAddOrInsertLibClick( wxCommandEvent& event ) * because it preserve use of default libraries paths, when the path * is a sub path of these default paths */ if( wxGetApp().GetLibraryPathList().Index( fn.GetPath() ) != wxNOT_FOUND ) // Ok, trivial case libfilename = fn.GetName(); else // not in the default, : see if this file is in a subpath: { libfilename = fn.GetPathWithSep() + fn.GetName(); for( unsigned kk = 0; kk < wxGetApp().GetLibraryPathList().GetCount(); kk++ ) { if( fn.MakeRelativeTo( wxGetApp().GetLibraryPathList()[kk] ) ) { libfilename = fn.GetPathWithSep() + fn.GetName(); break; } } } libfilename = wxGetApp().ReturnFilenameWithRelativePathInLibPath( fn.GetFullPath() ); // Remove extension: fn = libfilename; fn.SetExt(wxEmptyString); libfilename = fn.GetFullPath(); //Add or insert new library name, if not already in list if( list->FindString( libfilename, fn.IsCaseSensitive() ) == wxNOT_FOUND ) Loading
eeschema/annotate_dialog.rcdeleted 100644 → 0 +0 −1 Original line number Diff line number Diff line #include "wx/msw/wx.rc"
eeschema/classes_body_items.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1247,7 +1247,7 @@ void LIB_SEGMENT::Draw( WinEDA_DrawPanel* aPanel, wxDC* aDC, * bounding box calculation. */ #if 0 EDA_Rect bBox = GetBoundingBox(); bBox.Inflate( m_Width + 2, m_Width + 2 ); bBox.Inflate( m_Width + 2 ); GRRect( &aPanel->m_ClipBox, aDC, bBox.GetOrigin().x, bBox.GetOrigin().y, bBox.GetEnd().x, bBox.GetEnd().y, 0, LIGHTMAGENTA ); #endif Loading
eeschema/dialog_eeschema_config.cpp +5 −14 Original line number Diff line number Diff line Loading @@ -242,20 +242,11 @@ void DIALOG_EESCHEMA_CONFIG::OnAddOrInsertLibClick( wxCommandEvent& event ) * because it preserve use of default libraries paths, when the path * is a sub path of these default paths */ if( wxGetApp().GetLibraryPathList().Index( fn.GetPath() ) != wxNOT_FOUND ) // Ok, trivial case libfilename = fn.GetName(); else // not in the default, : see if this file is in a subpath: { libfilename = fn.GetPathWithSep() + fn.GetName(); for ( unsigned kk = 0; kk < wxGetApp().GetLibraryPathList().GetCount(); kk ++ ) { if( fn.MakeRelativeTo(wxGetApp().GetLibraryPathList()[kk] ) ) { libfilename = fn.GetPathWithSep() + fn.GetName(); break; } } } libfilename = wxGetApp().ReturnFilenameWithRelativePathInLibPath( fn.GetFullPath() ); // Remove extension: fn = libfilename; fn.SetExt(wxEmptyString); libfilename = fn.GetFullPath(); //Add or insert new library name, if not already in list if( m_ListLibr->FindString( libfilename, fn.IsCaseSensitive() ) == wxNOT_FOUND ) Loading