Loading change_log.txt +12 −0 Original line number Original line Diff line number Diff line Loading @@ -6,6 +6,18 @@ Please add newer entries at the top, list the date and your name with email address. email address. 2008-Apr-29 UPDATE Dick Hollenbeck <dick@softplc.com> ================================================================================ +pcbnew * Added WinEDA_PcbFrame::UpdateToolbarLayerInfo() by factoring it out of ReCreateLayerBox(). * Changed call in void WinEDA_PcbFrame::SetToolbars() from ReCreateLayerBox() to UpdateToolbarLayerInfo(). * Removed calls to SetToolbars() from: > share/drawpanel.cpp's void WinEDA_DrawPanel::OnMouseEvent( wxMouseEvent& event ) > void WinEDA_BasePcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse ) 2008-Apr-28 UPDATE Dick Hollenbeck <dick@softplc.com> 2008-Apr-28 UPDATE Dick Hollenbeck <dick@softplc.com> ================================================================================ ================================================================================ +pcbnew +pcbnew Loading include/wxPcbStruct.h +8 −0 Original line number Original line Diff line number Diff line Loading @@ -350,6 +350,14 @@ public: void ReCreateOptToolbar(); void ReCreateOptToolbar(); void ReCreateMenuBar(); void ReCreateMenuBar(); WinEDAChoiceBox* ReCreateLayerBox( WinEDA_Toolbar* parent ); WinEDAChoiceBox* ReCreateLayerBox( WinEDA_Toolbar* parent ); /** * Function UpdateToolbarLayerInfo * updates the currently selected layer in the layer listbox and * the colored icon in the toolbar. */ void UpdateToolbarLayerInfo(); void PrepareLayerIndicator(); void PrepareLayerIndicator(); void OnLeftClick( wxDC* DC, const wxPoint& MousePos ); void OnLeftClick( wxDC* DC, const wxPoint& MousePos ); void OnLeftDClick( wxDC* DC, const wxPoint& MousePos ); void OnLeftDClick( wxDC* DC, const wxPoint& MousePos ); Loading pcbnew/controle.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -660,6 +660,7 @@ void WinEDA_BasePcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse ) RedrawActiveWindow( DC, TRUE ); RedrawActiveWindow( DC, TRUE ); } } SetToolbars(); // SetToolbars(); Affiche_Status_Box(); /* Display new cursor coordinates */ Affiche_Status_Box(); /* Display new cursor coordinates */ } } pcbnew/editrack-part2.cpp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -315,6 +315,8 @@ bool WinEDA_PcbFrame::Other_Layer_Route( TRACK* track, wxDC* DC ) Via->Display_Infos( this ); Via->Display_Infos( this ); Affiche_Status_Box(); Affiche_Status_Box(); D(printf("Other_Layer_Route\n");) SetToolbars(); SetToolbars(); return true; return true; Loading pcbnew/pcbframe.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -559,7 +559,8 @@ void WinEDA_PcbFrame::SetToolbars() } } } } ReCreateLayerBox( NULL ); UpdateToolbarLayerInfo(); PrepareLayerIndicator(); PrepareLayerIndicator(); DisplayUnitsMsg(); DisplayUnitsMsg(); Loading Loading
change_log.txt +12 −0 Original line number Original line Diff line number Diff line Loading @@ -6,6 +6,18 @@ Please add newer entries at the top, list the date and your name with email address. email address. 2008-Apr-29 UPDATE Dick Hollenbeck <dick@softplc.com> ================================================================================ +pcbnew * Added WinEDA_PcbFrame::UpdateToolbarLayerInfo() by factoring it out of ReCreateLayerBox(). * Changed call in void WinEDA_PcbFrame::SetToolbars() from ReCreateLayerBox() to UpdateToolbarLayerInfo(). * Removed calls to SetToolbars() from: > share/drawpanel.cpp's void WinEDA_DrawPanel::OnMouseEvent( wxMouseEvent& event ) > void WinEDA_BasePcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse ) 2008-Apr-28 UPDATE Dick Hollenbeck <dick@softplc.com> 2008-Apr-28 UPDATE Dick Hollenbeck <dick@softplc.com> ================================================================================ ================================================================================ +pcbnew +pcbnew Loading
include/wxPcbStruct.h +8 −0 Original line number Original line Diff line number Diff line Loading @@ -350,6 +350,14 @@ public: void ReCreateOptToolbar(); void ReCreateOptToolbar(); void ReCreateMenuBar(); void ReCreateMenuBar(); WinEDAChoiceBox* ReCreateLayerBox( WinEDA_Toolbar* parent ); WinEDAChoiceBox* ReCreateLayerBox( WinEDA_Toolbar* parent ); /** * Function UpdateToolbarLayerInfo * updates the currently selected layer in the layer listbox and * the colored icon in the toolbar. */ void UpdateToolbarLayerInfo(); void PrepareLayerIndicator(); void PrepareLayerIndicator(); void OnLeftClick( wxDC* DC, const wxPoint& MousePos ); void OnLeftClick( wxDC* DC, const wxPoint& MousePos ); void OnLeftDClick( wxDC* DC, const wxPoint& MousePos ); void OnLeftDClick( wxDC* DC, const wxPoint& MousePos ); Loading
pcbnew/controle.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -660,6 +660,7 @@ void WinEDA_BasePcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse ) RedrawActiveWindow( DC, TRUE ); RedrawActiveWindow( DC, TRUE ); } } SetToolbars(); // SetToolbars(); Affiche_Status_Box(); /* Display new cursor coordinates */ Affiche_Status_Box(); /* Display new cursor coordinates */ } }
pcbnew/editrack-part2.cpp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -315,6 +315,8 @@ bool WinEDA_PcbFrame::Other_Layer_Route( TRACK* track, wxDC* DC ) Via->Display_Infos( this ); Via->Display_Infos( this ); Affiche_Status_Box(); Affiche_Status_Box(); D(printf("Other_Layer_Route\n");) SetToolbars(); SetToolbars(); return true; return true; Loading
pcbnew/pcbframe.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -559,7 +559,8 @@ void WinEDA_PcbFrame::SetToolbars() } } } } ReCreateLayerBox( NULL ); UpdateToolbarLayerInfo(); PrepareLayerIndicator(); PrepareLayerIndicator(); DisplayUnitsMsg(); DisplayUnitsMsg(); Loading