Loading CHANGELOG.txt +13 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,19 @@ Started 2007-June-11 Please add newer entries at the top, list the date and your name with email address. 2008-Dec-30 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> ================================================================================ ++Eeschema: Note: this is a work in progress! Change dialog to edit fields in libedit. Most of code created by Dick to edit fields in shematic is reused (this was the goal). Component dialog properties -in libedit) is not modified, and fields can be also edited with it. New dialog box is similar to the component dialog box used in schematic. But all features do not work (work in progress!) TODO (by me): use vector to handle fields in libraries, like schematic. Finish work, and test it. 2008-Dec-29 UPDATE Dick Hollenbeck <dick@softplc.com> ================================================================================ ++all Loading common/about_kicad.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,6 @@ #include "wx/generic/aboutdlgg.h" #include "fctsys.h" #include "gr_basic.h" #include "common.h" extern wxString g_Main_Title; // Import program title Loading common/drawpanel.cpp +10 −0 Original line number Diff line number Diff line Loading @@ -580,11 +580,21 @@ void WinEDA_DrawPanel::EraseScreen( wxDC* DC ) } //#define USE_GCDC_IN_KICAD #ifdef USE_GCDC_IN_KICAD #include <wx/dcgraph.h> #endif /***************************************************/ void WinEDA_DrawPanel::OnPaint( wxPaintEvent& event ) /***************************************************/ { #ifdef USE_GCDC_IN_KICAD wxPaintDC pDC( this ); wxGCDC paintDC(pDC); // Following line should be disabled on MSW and OS X paintDC.GetGraphicsContext()->Translate(0.5, 0.5); // Fix for pixel offset bug http://trac.wxwidgets.org/ticket/4187 #else wxPaintDC paintDC( this ); #endif EDA_Rect tmp; wxRect PaintClipBox; wxPoint org; Loading eeschema/CMakeLists.txt +2 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,8 @@ set(EESCHEMA_SRCS dialog_edit_component_in_schematic.cpp dialog_edit_label.cpp dialog_edit_label_base.cpp dialog_edit_libentry_fields_in_lib.cpp dialog_edit_libentry_fields_in_lib_base.cpp dialog_eeschema_config.cpp dialog_erc.cpp # dialog_find.cpp Loading eeschema/class_library.cpp +5 −2 Original line number Diff line number Diff line Loading @@ -410,8 +410,11 @@ LibDrawField* LibDrawField::GenCopy() } // copie du field dans le field Target void LibDrawField::Copy( LibDrawField* Target ) /** Function Copy * copy parameters of this to Target. Pointers are not copied * @param Target = the LibDrawField to set with "this" values */ void LibDrawField::Copy( LibDrawField* Target ) const { Target->m_Pos = m_Pos; Target->m_Size = m_Size; Loading Loading
CHANGELOG.txt +13 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,19 @@ Started 2007-June-11 Please add newer entries at the top, list the date and your name with email address. 2008-Dec-30 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> ================================================================================ ++Eeschema: Note: this is a work in progress! Change dialog to edit fields in libedit. Most of code created by Dick to edit fields in shematic is reused (this was the goal). Component dialog properties -in libedit) is not modified, and fields can be also edited with it. New dialog box is similar to the component dialog box used in schematic. But all features do not work (work in progress!) TODO (by me): use vector to handle fields in libraries, like schematic. Finish work, and test it. 2008-Dec-29 UPDATE Dick Hollenbeck <dick@softplc.com> ================================================================================ ++all Loading
common/about_kicad.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,6 @@ #include "wx/generic/aboutdlgg.h" #include "fctsys.h" #include "gr_basic.h" #include "common.h" extern wxString g_Main_Title; // Import program title Loading
common/drawpanel.cpp +10 −0 Original line number Diff line number Diff line Loading @@ -580,11 +580,21 @@ void WinEDA_DrawPanel::EraseScreen( wxDC* DC ) } //#define USE_GCDC_IN_KICAD #ifdef USE_GCDC_IN_KICAD #include <wx/dcgraph.h> #endif /***************************************************/ void WinEDA_DrawPanel::OnPaint( wxPaintEvent& event ) /***************************************************/ { #ifdef USE_GCDC_IN_KICAD wxPaintDC pDC( this ); wxGCDC paintDC(pDC); // Following line should be disabled on MSW and OS X paintDC.GetGraphicsContext()->Translate(0.5, 0.5); // Fix for pixel offset bug http://trac.wxwidgets.org/ticket/4187 #else wxPaintDC paintDC( this ); #endif EDA_Rect tmp; wxRect PaintClipBox; wxPoint org; Loading
eeschema/CMakeLists.txt +2 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,8 @@ set(EESCHEMA_SRCS dialog_edit_component_in_schematic.cpp dialog_edit_label.cpp dialog_edit_label_base.cpp dialog_edit_libentry_fields_in_lib.cpp dialog_edit_libentry_fields_in_lib_base.cpp dialog_eeschema_config.cpp dialog_erc.cpp # dialog_find.cpp Loading
eeschema/class_library.cpp +5 −2 Original line number Diff line number Diff line Loading @@ -410,8 +410,11 @@ LibDrawField* LibDrawField::GenCopy() } // copie du field dans le field Target void LibDrawField::Copy( LibDrawField* Target ) /** Function Copy * copy parameters of this to Target. Pointers are not copied * @param Target = the LibDrawField to set with "this" values */ void LibDrawField::Copy( LibDrawField* Target ) const { Target->m_Pos = m_Pos; Target->m_Size = m_Size; Loading