Browse Source

Cleanup: move remnants of LAYER_WIDGET to gerbview

These are no longer used in Pcbnew.
6.0.7
Michael Kavanagh 5 years ago
committed by Wayne Stambaugh
parent
commit
3f01c5fae0
  1. 3
      gerbview/CMakeLists.txt
  2. 0
      gerbview/layer_widget.cpp
  3. 0
      gerbview/layer_widget.h
  4. 1
      pcbnew/pcb_base_edit_frame.cpp
  5. 2
      pcbnew/pcb_edit_frame.h

3
gerbview/CMakeLists.txt

@ -8,7 +8,6 @@ add_definitions(-DGERBVIEW)
include_directories( BEFORE ${INC_BEFORE} )
include_directories(
${CMAKE_SOURCE_DIR}/pcbnew
dialogs
${CMAKE_SOURCE_DIR}/common
${CMAKE_SOURCE_DIR}/3d-viewer
@ -49,6 +48,7 @@ set( GERBVIEW_SRCS
gerbview_settings.cpp
gerbview_frame.cpp
job_file_reader.cpp
layer_widget.cpp
menubar.cpp
readgerb.cpp
rs274_read_XY_and_IJ_coordinates.cpp
@ -73,7 +73,6 @@ set( GERBVIEW_EXTRA_SRCS
${CMAKE_SOURCE_DIR}/common/eda_text.cpp
${CMAKE_SOURCE_DIR}/common/widgets/layer_box_selector.cpp
${CMAKE_SOURCE_DIR}/common/lset.cpp
${CMAKE_SOURCE_DIR}/pcbnew/layer_widget.cpp
${CMAKE_SOURCE_DIR}/common/page_info.cpp
)

0
pcbnew/layer_widget.cpp → gerbview/layer_widget.cpp

0
pcbnew/layer_widget.h → gerbview/layer_widget.h

1
pcbnew/pcb_base_edit_frame.cpp

@ -37,7 +37,6 @@
#include <dialogs/dialog_grid_settings.h>
#include <widgets/appearance_controls.h>
#include <dialogs/eda_view_switcher.h>
#include <layer_widget.h>
#include <class_dimension.h>
#include <wildcards_and_files_ext.h>

2
pcbnew/pcb_edit_frame.h

@ -437,7 +437,7 @@ public:
/**
* Function SetActiveLayer
* will change the currently active layer to \a aLayer and also
* update the PCB_LAYER_WIDGET.
* update the APPEARANCE_CONTROLS.
*/
void SetActiveLayer( PCB_LAYER_ID aLayer ) override;

Loading…
Cancel
Save