Loading include/layers_id_colors_and_visibility.h +2 −1 Original line number Diff line number Diff line Loading @@ -240,6 +240,7 @@ enum PCB_VISIBLE PAD_BK_NETNAMES_VISIBLE, PADS_NETNAMES_VISIBLE, SELECTION, GP_OVERLAY, // General purpose overlay END_PCB_VISIBLE_LIST // sentinel Loading @@ -258,7 +259,7 @@ enum PCB_VISIBLE /// means that layer is displayed closer to the user, ie. on the top). const LAYER_NUM GalLayerOrder[] = { ITEM_GAL_LAYER( GP_OVERLAY ), ITEM_GAL_LAYER( GP_OVERLAY ), ITEM_GAL_LAYER( SELECTION ), ITEM_GAL_LAYER( PADS_NETNAMES_VISIBLE ), DRAW_N, COMMENT_N, ECO1_N, ECO2_N, EDGE_N, UNUSED_LAYER_29, UNUSED_LAYER_30, UNUSED_LAYER_31, Loading pcbnew/basepcbframe.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -831,6 +831,7 @@ void PCB_BASE_FRAME::LoadSettings() view->SetRequired( ITEM_GAL_LAYER( PADS_NETNAMES_VISIBLE ), ITEM_GAL_LAYER( PADS_VISIBLE ) ); view->SetRequired( ITEM_GAL_LAYER( PAD_FR_NETNAMES_VISIBLE ), ITEM_GAL_LAYER( PAD_FR_VISIBLE ) ); view->SetRequired( ITEM_GAL_LAYER( PAD_BK_NETNAMES_VISIBLE ), ITEM_GAL_LAYER( PAD_BK_VISIBLE ) ); view->SetLayerTarget( ITEM_GAL_LAYER( SELECTION ), KiGfx::TARGET_OVERLAY ); view->SetLayerTarget( ITEM_GAL_LAYER( GP_OVERLAY ), KiGfx::TARGET_OVERLAY ); // Apply layer coloring scheme & display options Loading pcbnew/class_dimension.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -495,7 +495,7 @@ void DIMENSION::ViewGetLayers( int aLayers[], int& aCount ) const aLayers[0] = m_Layer; // On the general purpose overlay there is a selection box displayed aLayers[1] = ITEM_GAL_LAYER( GP_OVERLAY ); aLayers[1] = ITEM_GAL_LAYER( SELECTION ); aCount = 2; } Loading pcbnew/class_module.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1028,5 +1028,5 @@ void MODULE::SetOrientation( double newangle ) void MODULE::ViewGetLayers( int aLayers[], int& aCount ) const { aCount = 1; aLayers[0] = ITEM_GAL_LAYER( GP_OVERLAY ); // Selection box aLayers[0] = ITEM_GAL_LAYER( SELECTION ); // Selection box } pcbnew/class_pcb_text.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -231,7 +231,7 @@ void TEXTE_PCB::ViewGetLayers( int aLayers[], int& aCount ) const aLayers[0] = m_Layer; // On the general purpose overlay there is a selection box displayed aLayers[1] = ITEM_GAL_LAYER( GP_OVERLAY ); aLayers[1] = ITEM_GAL_LAYER( SELECTION ); aCount = 2; } Loading
include/layers_id_colors_and_visibility.h +2 −1 Original line number Diff line number Diff line Loading @@ -240,6 +240,7 @@ enum PCB_VISIBLE PAD_BK_NETNAMES_VISIBLE, PADS_NETNAMES_VISIBLE, SELECTION, GP_OVERLAY, // General purpose overlay END_PCB_VISIBLE_LIST // sentinel Loading @@ -258,7 +259,7 @@ enum PCB_VISIBLE /// means that layer is displayed closer to the user, ie. on the top). const LAYER_NUM GalLayerOrder[] = { ITEM_GAL_LAYER( GP_OVERLAY ), ITEM_GAL_LAYER( GP_OVERLAY ), ITEM_GAL_LAYER( SELECTION ), ITEM_GAL_LAYER( PADS_NETNAMES_VISIBLE ), DRAW_N, COMMENT_N, ECO1_N, ECO2_N, EDGE_N, UNUSED_LAYER_29, UNUSED_LAYER_30, UNUSED_LAYER_31, Loading
pcbnew/basepcbframe.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -831,6 +831,7 @@ void PCB_BASE_FRAME::LoadSettings() view->SetRequired( ITEM_GAL_LAYER( PADS_NETNAMES_VISIBLE ), ITEM_GAL_LAYER( PADS_VISIBLE ) ); view->SetRequired( ITEM_GAL_LAYER( PAD_FR_NETNAMES_VISIBLE ), ITEM_GAL_LAYER( PAD_FR_VISIBLE ) ); view->SetRequired( ITEM_GAL_LAYER( PAD_BK_NETNAMES_VISIBLE ), ITEM_GAL_LAYER( PAD_BK_VISIBLE ) ); view->SetLayerTarget( ITEM_GAL_LAYER( SELECTION ), KiGfx::TARGET_OVERLAY ); view->SetLayerTarget( ITEM_GAL_LAYER( GP_OVERLAY ), KiGfx::TARGET_OVERLAY ); // Apply layer coloring scheme & display options Loading
pcbnew/class_dimension.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -495,7 +495,7 @@ void DIMENSION::ViewGetLayers( int aLayers[], int& aCount ) const aLayers[0] = m_Layer; // On the general purpose overlay there is a selection box displayed aLayers[1] = ITEM_GAL_LAYER( GP_OVERLAY ); aLayers[1] = ITEM_GAL_LAYER( SELECTION ); aCount = 2; } Loading
pcbnew/class_module.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1028,5 +1028,5 @@ void MODULE::SetOrientation( double newangle ) void MODULE::ViewGetLayers( int aLayers[], int& aCount ) const { aCount = 1; aLayers[0] = ITEM_GAL_LAYER( GP_OVERLAY ); // Selection box aLayers[0] = ITEM_GAL_LAYER( SELECTION ); // Selection box }
pcbnew/class_pcb_text.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -231,7 +231,7 @@ void TEXTE_PCB::ViewGetLayers( int aLayers[], int& aCount ) const aLayers[0] = m_Layer; // On the general purpose overlay there is a selection box displayed aLayers[1] = ITEM_GAL_LAYER( GP_OVERLAY ); aLayers[1] = ITEM_GAL_LAYER( SELECTION ); aCount = 2; }