Cleanup: move remnants of LAYER_WIDGET to gerbview

These are no longer used in Pcbnew.
This commit is contained in:
Michael Kavanagh 2020-11-09 21:28:24 +00:00 committed by Wayne Stambaugh
parent 61fb271957
commit 3f01c5fae0
5 changed files with 2 additions and 4 deletions

View File

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

View File

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

View File

@ -437,7 +437,7 @@ public:
/** /**
* Function SetActiveLayer * Function SetActiveLayer
* will change the currently active layer to \a aLayer and also * 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; void SetActiveLayer( PCB_LAYER_ID aLayer ) override;