Loading gerbview/lay2plot.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ void Print_PcbItems(BOARD * Pcb, wxDC *DC, int drawmode, int printmasklayer) DisplayOpt.DisplayPadFill = FILLED; DisplayOpt.DisplayViaFill = FILLED; DisplayOpt.DisplayPadNum = 0; DisplayOpt.DisplayPadNoConn = 0; DisplayOpt.DisplayPadIsol = 0; DisplayOpt.DisplayPcbTrackFill = FILLED; DisplayOpt.ShowTrackClearanceMode = DO_NOT_SHOW_CLEARANCE; Loading include/pcbstruct.h +0 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,6 @@ public: bool DisplayPadFill; bool DisplayViaFill; bool DisplayPadNum; bool DisplayPadNoConn; bool DisplayPadIsol; int DisplayModEdge; Loading include/wxPcbStruct.h +29 −4 Original line number Diff line number Diff line Loading @@ -96,11 +96,8 @@ protected: * <p> * This function cannot be inline without including layer_widget.h in * here and we do not want to do that. * @param aRenderOnly: true to update render only, false (default) for full update * if aRenderOnly = true, the page displayed by the layer manager is not changed * if aRenderOnly = false, the page displayed after update is the layers list */ void syncLayerWidget(bool aRenderOnly = false); void syncLayerWidget( ); /** * Function syncLayerBox Loading Loading @@ -186,6 +183,34 @@ public: void ReCreateMenuBar(); WinEDAChoiceBox* ReCreateLayerBox( WinEDA_Toolbar* parent ); /** * Function IsElementVisible * tests whether a given element category is visible. Keep this as an * inline function. * @param aPCB_VISIBLE is from the enum by the same name * @return bool - true if the element is visible. * @see enum PCB_VISIBLE */ bool IsElementVisible( int aPCB_VISIBLE ) { return GetBoard()->IsElementVisible( aPCB_VISIBLE ); } /** * Function SetElementVisibility * changes the visibility of an element category * @param aPCB_VISIBLE is from the enum by the same name * @param aNewState = The new visibility state of the element category * @see enum PCB_VISIBLE */ void SetElementVisibility( int aPCB_VISIBLE, bool aNewState ); /** * Function SetVisibleAlls * Set the status of all visible element categories and layers to VISIBLE */ void SetVisibleAlls( ); /** * Function ReFillLayerWidget * changes out all the layers in m_Layers and may be called upon Loading pcbnew/class_board.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -392,6 +392,7 @@ void BOARD::SetVisibleElements( int aMask ) { /* Call SetElementVisibility for each item, * to ensure specific calculations that can be needed by some items * just change the visibility flags could be not sufficient */ for( int ii = 0; ii < PCB_VISIBLE(END_PCB_VISIBLE_LIST); ii++ ) { Loading @@ -408,10 +409,8 @@ void BOARD::SetVisibleAlls( ) * to ensure specific calculations that can be needed by some items */ for( int ii = 0; ii < PCB_VISIBLE(END_PCB_VISIBLE_LIST); ii++ ) { SetElementVisibility( ii, true ); } } int BOARD::GetVisibleElements() const Loading pcbnew/classpcb.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -146,7 +146,6 @@ DISPLAY_OPTIONS::DISPLAY_OPTIONS() DisplayPadFill = FILLED; DisplayViaFill = FILLED; DisplayPadNum = true; DisplayPadNoConn = true; DisplayPadIsol = true; DisplayModEdge = true; Loading Loading
gerbview/lay2plot.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ void Print_PcbItems(BOARD * Pcb, wxDC *DC, int drawmode, int printmasklayer) DisplayOpt.DisplayPadFill = FILLED; DisplayOpt.DisplayViaFill = FILLED; DisplayOpt.DisplayPadNum = 0; DisplayOpt.DisplayPadNoConn = 0; DisplayOpt.DisplayPadIsol = 0; DisplayOpt.DisplayPcbTrackFill = FILLED; DisplayOpt.ShowTrackClearanceMode = DO_NOT_SHOW_CLEARANCE; Loading
include/pcbstruct.h +0 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,6 @@ public: bool DisplayPadFill; bool DisplayViaFill; bool DisplayPadNum; bool DisplayPadNoConn; bool DisplayPadIsol; int DisplayModEdge; Loading
include/wxPcbStruct.h +29 −4 Original line number Diff line number Diff line Loading @@ -96,11 +96,8 @@ protected: * <p> * This function cannot be inline without including layer_widget.h in * here and we do not want to do that. * @param aRenderOnly: true to update render only, false (default) for full update * if aRenderOnly = true, the page displayed by the layer manager is not changed * if aRenderOnly = false, the page displayed after update is the layers list */ void syncLayerWidget(bool aRenderOnly = false); void syncLayerWidget( ); /** * Function syncLayerBox Loading Loading @@ -186,6 +183,34 @@ public: void ReCreateMenuBar(); WinEDAChoiceBox* ReCreateLayerBox( WinEDA_Toolbar* parent ); /** * Function IsElementVisible * tests whether a given element category is visible. Keep this as an * inline function. * @param aPCB_VISIBLE is from the enum by the same name * @return bool - true if the element is visible. * @see enum PCB_VISIBLE */ bool IsElementVisible( int aPCB_VISIBLE ) { return GetBoard()->IsElementVisible( aPCB_VISIBLE ); } /** * Function SetElementVisibility * changes the visibility of an element category * @param aPCB_VISIBLE is from the enum by the same name * @param aNewState = The new visibility state of the element category * @see enum PCB_VISIBLE */ void SetElementVisibility( int aPCB_VISIBLE, bool aNewState ); /** * Function SetVisibleAlls * Set the status of all visible element categories and layers to VISIBLE */ void SetVisibleAlls( ); /** * Function ReFillLayerWidget * changes out all the layers in m_Layers and may be called upon Loading
pcbnew/class_board.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -392,6 +392,7 @@ void BOARD::SetVisibleElements( int aMask ) { /* Call SetElementVisibility for each item, * to ensure specific calculations that can be needed by some items * just change the visibility flags could be not sufficient */ for( int ii = 0; ii < PCB_VISIBLE(END_PCB_VISIBLE_LIST); ii++ ) { Loading @@ -408,10 +409,8 @@ void BOARD::SetVisibleAlls( ) * to ensure specific calculations that can be needed by some items */ for( int ii = 0; ii < PCB_VISIBLE(END_PCB_VISIBLE_LIST); ii++ ) { SetElementVisibility( ii, true ); } } int BOARD::GetVisibleElements() const Loading
pcbnew/classpcb.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -146,7 +146,6 @@ DISPLAY_OPTIONS::DISPLAY_OPTIONS() DisplayPadFill = FILLED; DisplayViaFill = FILLED; DisplayPadNum = true; DisplayPadNoConn = true; DisplayPadIsol = true; DisplayModEdge = true; Loading