pcbnew: Move ratsnest items to separate folder

This commit is contained in:
Seth Hillbrand 2020-06-16 11:15:14 -07:00
parent 0bfe4130f5
commit 8c57821e9b
19 changed files with 30 additions and 21 deletions

View File

@ -493,8 +493,8 @@ set( PCB_COMMON_SRCS
${CMAKE_SOURCE_DIR}/pcbnew/pcb_view.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pcbnew_settings.cpp
${CMAKE_SOURCE_DIR}/pcbnew/plugin.cpp
${CMAKE_SOURCE_DIR}/pcbnew/ratsnest_data.cpp
${CMAKE_SOURCE_DIR}/pcbnew/ratsnest_viewitem.cpp
${CMAKE_SOURCE_DIR}/pcbnew/ratsnest/ratsnest_data.cpp
${CMAKE_SOURCE_DIR}/pcbnew/ratsnest/ratsnest_viewitem.cpp
${CMAKE_SOURCE_DIR}/pcbnew/sel_layer.cpp
${CMAKE_SOURCE_DIR}/pcbnew/zone_settings.cpp

View File

@ -296,7 +296,6 @@ set( PCBNEW_CLASS_SRCS
pcbplot.cpp
plot_board_layers.cpp
plot_brditems_plotter.cpp
ratsnest.cpp
specctra_import_export/specctra.cpp
specctra_import_export/specctra_export.cpp
specctra_import_export/specctra_import.cpp
@ -311,6 +310,8 @@ set( PCBNEW_CLASS_SRCS
zones_functions_for_undo_redo.cpp
zones_test_and_combine_areas.cpp
ratsnest/ratsnest.cpp
tools/drawing_tool.cpp
tools/edit_tool.cpp
tools/global_edit_tool.cpp

View File

@ -38,12 +38,12 @@
#include <class_pad.h>
#include <board_commit.h>
#include <connectivity/connectivity_data.h>
#include <ratsnest_data.h>
#include <widgets/progress_reporter.h>
#include "ar_autoplacer.h"
#include "ar_matrix.h"
#include <memory>
#include <ratsnest/ratsnest_data.h>
#define AR_GAIN 16
#define AR_KEEPOUT_MARGIN 500

View File

@ -38,8 +38,6 @@
#include <pcb_base_frame.h>
#include <msgpanel.h>
#include <reporter.h>
#include <ratsnest_data.h>
#include <ratsnest_viewitem.h>
#include <ws_proxy_view_item.h>
#include <pcbnew.h>
#include <collectors.h>
@ -53,6 +51,8 @@
#include <connectivity/connectivity_data.h>
#include <pgm_base.h>
#include <pcbnew_settings.h>
#include <ratsnest/ratsnest_data.h>
#include <ratsnest/ratsnest_viewitem.h>
/**
* A singleton item of this class is returned for a weak reference that no longer exists.

View File

@ -33,7 +33,7 @@
#include <connectivity/connectivity_data.h>
#include <connectivity/connectivity_algo.h>
#include <ratsnest_data.h>
#include <ratsnest/ratsnest_data.h>
CONNECTIVITY_DATA::CONNECTIVITY_DATA()
{

View File

@ -28,7 +28,7 @@ using namespace std::placeholders;
#include <confirm.h>
#include <pcbnew.h>
#include <pcb_edit_frame.h>
#include <ratsnest_data.h>
#include <ratsnest/ratsnest_data.h>
#include <board_commit.h>
#include <class_board.h>
#include <class_module.h>

View File

@ -28,6 +28,8 @@
#include <pcb_edit_frame.h>
#include <pcbnew_settings.h>
#include <dialog_update_pcb.h>
#include <ratsnest/ratsnest_data.h>
#include <wx_html_report_panel.h>
#include <netlist_reader/pcb_netlist.h>
#include <netlist_reader/board_netlist_updater.h>
@ -35,7 +37,6 @@
#include <tools/pcb_actions.h>
#include <tools/selection_tool.h>
#include <class_board.h>
#include <ratsnest_data.h>
#include <kiface_i.h>
using namespace std::placeholders;

View File

@ -34,7 +34,6 @@
#include <pgm_base.h>
#include <msgpanel.h>
#include <fp_lib_table.h>
#include <ratsnest_data.h>
#include <kiway.h>
#include <kiway_player.h>
#include <trace_helpers.h>
@ -49,6 +48,8 @@
#include <class_board.h>
#include <wx/stdpaths.h>
#include <pcb_layer_widget.h>
#include <ratsnest/ratsnest_data.h>
#include <wx/wupdlock.h>

View File

@ -52,8 +52,9 @@
#include <pcbnew.h>
#include <pcbnew_id.h>
#include <pcbnew_settings.h>
#include <ratsnest/ratsnest_data.h>
#include <pgm_base.h>
#include <ratsnest_data.h>
#include <settings/color_settings.h>
#include <tool/tool_manager.h>
#include <tools/pcb_actions.h>

View File

@ -41,7 +41,7 @@ using namespace std::placeholders;
#include <fp_lib_table.h>
#include <class_board.h>
#include <class_module.h>
#include <ratsnest_data.h>
#include <ratsnest/ratsnest_data.h>
#include <pcbnew.h>
#include <io_mgr.h>
#include "board_netlist_updater.h"

View File

@ -27,8 +27,6 @@
#include <view/wx_view_controls.h>
#include <pcb_painter.h>
#include <ws_proxy_view_item.h>
#include <ratsnest_viewitem.h>
#include <ratsnest_data.h>
#include <connectivity/connectivity_data.h>
#include <class_board.h>
@ -37,6 +35,9 @@
#include <class_marker_pcb.h>
#include <pcb_base_frame.h>
#include <pcbnew_settings.h>
#include <ratsnest/ratsnest_data.h>
#include <ratsnest/ratsnest_viewitem.h>
#include <pgm_base.h>
#include <settings/settings_manager.h>
#include <confirm.h>

View File

@ -48,7 +48,6 @@
#include <class_module.h>
#include <ws_proxy_view_item.h>
#include <connectivity/connectivity_data.h>
#include <ratsnest_viewitem.h>
#include <wildcards_and_files_ext.h>
#include <kicad_string.h>
#include <pcb_draw_panel_gal.h>
@ -86,6 +85,8 @@
#include <netlist_reader/pcb_netlist.h>
#include <wx/wupdlock.h>
#include <dialog_drc.h> // for DIALOG_DRC_WINDOW_NAME definition
#include <ratsnest/ratsnest_viewitem.h>
#include <widgets/infobar.h>
#if defined(KICAD_SCRIPTING) || defined(KICAD_SCRIPTING_WXPYTHON)

View File

@ -31,7 +31,7 @@
#include <class_module.h>
#include <class_track.h>
#include <pcbnew.h>
#include <ratsnest_data.h>
#include <ratsnest/ratsnest_data.h>
/**
* Function Compile_Ratsnest

View File

@ -32,7 +32,7 @@
#include <profile.h>
#endif
#include <ratsnest_data.h>
#include <ratsnest/ratsnest_data.h>
#include <functional>
using namespace std::placeholders;

View File

@ -29,10 +29,12 @@
* @brief Class that draws missing connections on a PCB.
*/
#include <ratsnest_viewitem.h>
#include <ratsnest_data.h>
#include <ratsnest/ratsnest_viewitem.h>
#include <gal/graphics_abstraction_layer.h>
#include <pcb_painter.h>
#include <ratsnest/ratsnest_data.h>
#include <layers_id_colors_and_visibility.h>
#include <pcb_base_frame.h>

View File

@ -37,7 +37,6 @@
#include <gal/graphics_abstraction_layer.h>
#include <tool/tool_manager.h>
#include <geometry/geometry_utils.h>
#include <ratsnest_data.h>
#include <board_commit.h>
#include <scoped_set_reset.h>
#include <bitmaps.h>
@ -59,6 +58,7 @@
#include <tools/selection_tool.h>
#include <tools/tool_event_utils.h>
#include <tools/zone_create_helper.h>
#include <ratsnest/ratsnest_data.h>
using SCOPED_DRAW_MODE = SCOPED_SET_RESET<DRAWING_TOOL::MODE>;

View File

@ -26,11 +26,12 @@
#include "pcb_actions.h"
#include "selection_tool.h"
#include "edit_tool.h"
#include <ratsnest/ratsnest_data.h>
#include <tool/tool_manager.h>
#include <pcb_edit_frame.h>
#include <class_board.h>
#include <ratsnest_data.h>
#include <board_commit.h>
#include <bitmaps.h>