Rename layer ids file.

It hasn't had anything to do with colors or visibility for some time
now.
This commit is contained in:
Jeff Young 2021-07-29 10:47:43 +01:00
parent d36fbb864f
commit f221220fe2
112 changed files with 117 additions and 122 deletions

View File

@ -35,7 +35,7 @@
#include "../3d_cache/3d_cache.h" #include "../3d_cache/3d_cache.h"
#include "../common_ogl/ogl_attr_list.h" #include "../common_ogl/ogl_attr_list.h"
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <pad.h> #include <pad.h>
#include <pcb_track.h> #include <pcb_track.h>
#include <wx/gdicmn.h> #include <wx/gdicmn.h>

View File

@ -39,7 +39,7 @@
#include <board_design_settings.h> #include <board_design_settings.h>
#include <board_stackup_manager/board_stackup.h> #include <board_stackup_manager/board_stackup.h>
#include <core/arraydim.h> #include <core/arraydim.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <gal/dpi_scaling.h> #include <gal/dpi_scaling.h>
#include <pgm_base.h> #include <pgm_base.h>
#include <project.h> #include <project.h>

View File

@ -32,7 +32,7 @@
#include <vector> #include <vector>
#include <convert_to_biu.h> #include <convert_to_biu.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <locale_io.h> #include <locale_io.h>
#include <potracelib.h> #include <potracelib.h>

View File

@ -21,7 +21,7 @@
#include <bitmaps.h> #include <bitmaps.h>
#include <dialogs/dialog_color_picker.h> #include <dialogs/dialog_color_picker.h>
#include <launch_ext.h> #include <launch_ext.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <menus_helpers.h> #include <menus_helpers.h>
#include <dialogs/panel_color_settings.h> #include <dialogs/panel_color_settings.h>
#include <pgm_base.h> #include <pgm_base.h>

View File

@ -55,7 +55,7 @@
#include <drawing_sheet/ds_data_model.h> #include <drawing_sheet/ds_data_model.h>
#include <base_units.h> #include <base_units.h>
#include <page_info.h> #include <page_info.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <gr_basic.h> #include <gr_basic.h>
#include <trigo.h> #include <trigo.h>
#include <render_settings.h> #include <render_settings.h>

View File

@ -22,7 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <page_info.h> #include <page_info.h>
#include <drawing_sheet/ds_proxy_view_item.h> #include <drawing_sheet/ds_proxy_view_item.h>
#include <drawing_sheet/ds_draw_item.h> #include <drawing_sheet/ds_draw_item.h>

View File

@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <wx/translation.h> #include <wx/translation.h>
/** /**

View File

@ -30,7 +30,7 @@
#include <core/arraydim.h> #include <core/arraydim.h>
#include <math/util.h> // for Clamp #include <math/util.h> // for Clamp
#include <layers_id_colors_and_visibility.h> // for LSET, PCB_LAYER_ID, LSEQ #include <layer_ids.h> // for LSET, PCB_LAYER_ID, LSEQ
#include <macros.h> // for arrayDim #include <macros.h> // for arrayDim
#include <wx/debug.h> // for wxASSERT, wxASSERT_MSG #include <wx/debug.h> // for wxASSERT, wxASSERT_MSG
#include <wx/string.h> #include <wx/string.h>

View File

@ -37,7 +37,7 @@
#include <wx/string.h> #include <wx/string.h>
#include <wx/filename.h> #include <wx/filename.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <trigo.h> #include <trigo.h>
#include <core/wx_stl_compat.h> #include <core/wx_stl_compat.h>

View File

@ -24,7 +24,7 @@
#include <preview_items/ruler_item.h> #include <preview_items/ruler_item.h>
#include <preview_items/preview_utils.h> #include <preview_items/preview_utils.h>
#include <gal/graphics_abstraction_layer.h> #include <gal/graphics_abstraction_layer.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <painter.h> #include <painter.h>
#include <view/view.h> #include <view/view.h>
#include <trigo.h> #include <trigo.h>

View File

@ -20,7 +20,7 @@
#include <class_draw_panel_gal.h> #include <class_draw_panel_gal.h>
#include <common.h> #include <common.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <pgm_base.h> #include <pgm_base.h>
#include <settings/app_settings.h> #include <settings/app_settings.h>
#include <settings/json_settings_internals.h> #include <settings/json_settings_internals.h>

View File

@ -18,7 +18,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <pgm_base.h> #include <pgm_base.h>
#include <settings/color_settings.h> #include <settings/color_settings.h>
#include <settings/json_settings_internals.h> #include <settings/json_settings_internals.h>

View File

@ -100,7 +100,7 @@ principle should be easily implemented by adapting the current STL containers.
#include <convert_to_biu.h> #include <convert_to_biu.h>
#include <id.h> #include <id.h>
#include <build_version.h> #include <build_version.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <settings/settings_manager.h> #include <settings/settings_manager.h>
%} %}

View File

@ -27,7 +27,7 @@
#include <eda_item.h> #include <eda_item.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <trace_helpers.h> #include <trace_helpers.h>
#include <view/view.h> #include <view/view.h>

View File

@ -36,7 +36,7 @@
#include <view/view.h> #include <view/view.h>
#include <painter.h> #include <painter.h>
#include <gal/graphics_abstraction_layer.h> #include <gal/graphics_abstraction_layer.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
using namespace KIGFX; using namespace KIGFX;

View File

@ -30,7 +30,7 @@
#include <gal/graphics_abstraction_layer.h> #include <gal/graphics_abstraction_layer.h>
#include <painter.h> #include <painter.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <geometry/seg.h> #include <geometry/seg.h>
namespace KIGFX { namespace KIGFX {

View File

@ -22,7 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <bitmaps.h> #include <bitmaps.h>
#include <wx/dcmemory.h> #include <wx/dcmemory.h>

View File

@ -23,7 +23,7 @@
#include <bitmaps.h> #include <bitmaps.h>
#include <eeschema_settings.h> #include <eeschema_settings.h>
#include <gal/gal_display_options.h> #include <gal/gal_display_options.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <lib_polyline.h> #include <lib_polyline.h>
#include <page_info.h> #include <page_info.h>
#include <panel_eeschema_color_settings.h> #include <panel_eeschema_color_settings.h>

View File

@ -24,7 +24,7 @@
#include <gal/color4d.h> #include <gal/color4d.h>
#include <gal/gal_display_options.h> #include <gal/gal_display_options.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <dialogs/panel_color_settings.h> #include <dialogs/panel_color_settings.h>
class COLOR_SETTINGS; class COLOR_SETTINGS;

View File

@ -25,7 +25,7 @@
#include <dialogs/dialog_bom_cfg_lexer.h> #include <dialogs/dialog_bom_cfg_lexer.h>
#include <eeschema_settings.h> #include <eeschema_settings.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <symbol_editor_settings.h> #include <symbol_editor_settings.h>
#include <macros.h> #include <macros.h>
#include <pgm_base.h> #include <pgm_base.h>

View File

@ -26,7 +26,7 @@
#define _GENERAL_H_ #define _GENERAL_H_
#include <gal/color4d.h> #include <gal/color4d.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
using KIGFX::COLOR4D; using KIGFX::COLOR4D;

View File

@ -38,7 +38,7 @@
#include <eda_draw_frame.h> #include <eda_draw_frame.h>
#include <gal/definitions.h> #include <gal/definitions.h>
#include <gal/graphics_abstraction_layer.h> #include <gal/graphics_abstraction_layer.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <math/vector2d.h> #include <math/vector2d.h>
#include <pgm_base.h> #include <pgm_base.h>
#include <settings/settings_manager.h> #include <settings/settings_manager.h>

View File

@ -28,7 +28,7 @@
#include <sch_plugins/cadstar/cadstar_sch_archive_parser.h> #include <sch_plugins/cadstar/cadstar_sch_archive_parser.h>
#include <layers_id_colors_and_visibility.h> // SCH_LAYER_ID #include <layer_ids.h> // SCH_LAYER_ID
#include <plotter.h> // PLOT_DASH_TYPE #include <plotter.h> // PLOT_DASH_TYPE
#include <pin_type.h> // ELECTRICAL_PINTYPE #include <pin_type.h> // ELECTRICAL_PINTYPE
#include <sch_io_mgr.h> #include <sch_io_mgr.h>

View File

@ -38,7 +38,7 @@
#include <core/typeinfo.h> #include <core/typeinfo.h>
#include <kiid.h> #include <kiid.h>
#include <kiway_holder.h> #include <kiway_holder.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <marker_base.h> #include <marker_base.h>
#include <page_info.h> #include <page_info.h>
#include <template_fieldnames.h> #include <template_fieldnames.h>

View File

@ -29,7 +29,7 @@
#include <eda_item.h> #include <eda_item.h>
#include <core/typeinfo.h> #include <core/typeinfo.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <lib_id.h> #include <lib_id.h>
#include <widgets/msgpanel.h> #include <widgets/msgpanel.h>

View File

@ -32,7 +32,7 @@
#include <view/view_rtree.h> #include <view/view_rtree.h>
#include <view/wx_view_controls.h> #include <view/wx_view_controls.h>
#include <drawing_sheet/ds_proxy_view_item.h> #include <drawing_sheet/ds_proxy_view_item.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <sch_screen.h> #include <sch_screen.h>
#include <schematic.h> #include <schematic.h>
#include <sch_base_frame.h> #include <sch_base_frame.h>

View File

@ -24,7 +24,7 @@
#ifndef SCH_VIEW_H_ #ifndef SCH_VIEW_H_
#define SCH_VIEW_H_ #define SCH_VIEW_H_
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <math/vector2d.h> #include <math/vector2d.h>
#include <view/view.h> #include <view/view.h>

View File

@ -24,7 +24,7 @@
#include <bitmaps.h> #include <bitmaps.h>
#include <core/typeinfo.h> #include <core/typeinfo.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <sch_line_wire_bus_tool.h> #include <sch_line_wire_bus_tool.h>
#include <tools/ee_actions.h> #include <tools/ee_actions.h>
#include <tool/tool_action.h> #include <tool/tool_action.h>

View File

@ -39,7 +39,7 @@
#include <eda_item.h> #include <eda_item.h>
#include <bitmaps.h> #include <bitmaps.h>
#include <core/typeinfo.h> #include <core/typeinfo.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <math/vector2d.h> #include <math/vector2d.h>
#include <advanced_config.h> #include <advanced_config.h>
#include <tool/actions.h> #include <tool/actions.h>

View File

@ -34,7 +34,7 @@
#include <gerbview_id.h> #include <gerbview_id.h>
#include <gerbview_settings.h> #include <gerbview_settings.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <dialogs/dialog_layers_select_to_pcb.h> #include <dialogs/dialog_layers_select_to_pcb.h>

View File

@ -24,7 +24,7 @@
#include <convert_to_biu.h> #include <convert_to_biu.h>
#include <geometry/shape_poly_set.h> #include <geometry/shape_poly_set.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
struct EXPORT_VIA struct EXPORT_VIA

View File

@ -30,7 +30,7 @@
#define GERBER_DRAW_ITEM_H #define GERBER_DRAW_ITEM_H
#include <eda_item.h> #include <eda_item.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <gr_basic.h> #include <gr_basic.h>
#include <gbr_netlist_metadata.h> #include <gbr_netlist_metadata.h>
#include <dcode.h> #include <dcode.h>

View File

@ -25,7 +25,7 @@
#include <filehistory.h> #include <filehistory.h>
#include <config_params.h> #include <config_params.h>
#include <eda_draw_frame.h> #include <eda_draw_frame.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <gerbview.h> #include <gerbview.h>
#include <convert_to_biu.h> #include <convert_to_biu.h>
#include <gbr_layout.h> #include <gbr_layout.h>

View File

@ -21,7 +21,7 @@
#ifndef __GERBVIEW_PAINTER_H #ifndef __GERBVIEW_PAINTER_H
#define __GERBVIEW_PAINTER_H #define __GERBVIEW_PAINTER_H
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <painter.h> #include <painter.h>
#include <dcode.h> #include <dcode.h>

View File

@ -22,7 +22,7 @@
*/ */
#include <gerbview_settings.h> #include <gerbview_settings.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <pgm_base.h> #include <pgm_base.h>
#include <settings/common_settings.h> #include <settings/common_settings.h>
#include <settings/json_settings_internals.h> #include <settings/json_settings_internals.h>

View File

@ -40,7 +40,7 @@
#include <wx/bitmap.h> #include <wx/bitmap.h>
#include <wx/image.h> #include <wx/image.h>
#include <wx/icon.h> #include <wx/icon.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <gal/color4d.h> #include <gal/color4d.h>
#include <widgets/color_swatch.h> #include <widgets/color_swatch.h>
#include <widgets/indicator_icon.h> #include <widgets/indicator_icon.h>

View File

@ -30,7 +30,7 @@
#include <eda_units.h> #include <eda_units.h>
#include <convert_to_biu.h> #include <convert_to_biu.h>
#include <gr_basic.h> #include <gr_basic.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <geometry/geometry_utils.h> #include <geometry/geometry_utils.h>
class BOARD; class BOARD;

View File

@ -34,7 +34,7 @@
#define BOARD_PRINTOUT_H #define BOARD_PRINTOUT_H
#include <wx/print.h> #include <wx/print.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <eda_rect.h> #include <eda_rect.h>
#include <printout.h> #include <printout.h>

View File

@ -35,7 +35,7 @@
#include <vector> #include <vector>
#include <wx/aui/aui.h> #include <wx/aui/aui.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <frame_type.h> #include <frame_type.h>
#include <hotkeys_basic.h> #include <hotkeys_basic.h>
#include <kiway_holder.h> #include <kiway_holder.h>

View File

@ -3,7 +3,7 @@
* *
* Copyright (C) 2014 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com> * Copyright (C) 2014 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2010 Jean-Pierre Charras, jp.charras at wanadoo.fr * Copyright (C) 2010 Jean-Pierre Charras, jp.charras at wanadoo.fr
* Copyright (C) 2007-2020 KiCad Developers, see AUTHORS.txt for contributors. * Copyright (C) 2007-2021 KiCad Developers, see AUTHORS.txt for contributors.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@ -23,13 +23,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
/** #ifndef LAYER_IDS_H
* @file layers_id_colors_and_visibility.h #define LAYER_IDS_H
* @brief Board layer functions and definitions.
*/
#ifndef LAYERS_ID_AND_VISIBILITY_H_
#define LAYERS_ID_AND_VISIBILITY_H_
#include <set> #include <set>
#include <vector> #include <vector>
@ -1003,4 +998,4 @@ inline bool IsNetCopperLayer( LAYER_NUM aLayer )
PCB_LAYER_ID ToLAYER_ID( int aLayer ); PCB_LAYER_ID ToLAYER_ID( int aLayer );
#endif // LAYERS_ID_AND_VISIBILITY_H_ #endif // LAYER_IDS_H

View File

@ -29,7 +29,7 @@
#include <math/box2.h> #include <math/box2.h>
#include <view/view.h> #include <view/view.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <gal/color4d.h> #include <gal/color4d.h>
#include <eda_item.h> #include <eda_item.h>

View File

@ -36,7 +36,7 @@
#include <gal/color4d.h> #include <gal/color4d.h>
#include <render_settings.h> #include <render_settings.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <memory> #include <memory>
namespace KIGFX namespace KIGFX

View File

@ -26,7 +26,7 @@
#include <eda_item.h> #include <eda_item.h>
#include <preview_items/arc_geom_manager.h> #include <preview_items/arc_geom_manager.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
namespace KIGFX namespace KIGFX
{ {

View File

@ -26,7 +26,7 @@
#include <eda_item.h> #include <eda_item.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <gal/color4d.h> #include <gal/color4d.h>
namespace KIGFX namespace KIGFX

View File

@ -26,7 +26,7 @@
#include <eda_item.h> #include <eda_item.h>
#include <preview_items/two_point_geom_manager.h> #include <preview_items/two_point_geom_manager.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
namespace KIGFX namespace KIGFX
{ {

View File

@ -21,7 +21,7 @@
#ifndef KICAD_BOARD_PROJECT_SETTINGS_H #ifndef KICAD_BOARD_PROJECT_SETTINGS_H
#define KICAD_BOARD_PROJECT_SETTINGS_H #define KICAD_BOARD_PROJECT_SETTINGS_H
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <settings/parameters.h> #include <settings/parameters.h>
// Can be removed by refactoring PARAM_LAYER_PRESET // Can be removed by refactoring PARAM_LAYER_PRESET

View File

@ -22,7 +22,7 @@
#ifndef KICAD_PROJECT_LOCAL_SETTINGS_H #ifndef KICAD_PROJECT_LOCAL_SETTINGS_H
#define KICAD_PROJECT_LOCAL_SETTINGS_H #define KICAD_PROJECT_LOCAL_SETTINGS_H
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <project/board_project_settings.h> #include <project/board_project_settings.h>
#include <settings/json_settings.h> #include <settings/json_settings.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>

View File

@ -28,7 +28,7 @@
#include <set> #include <set>
#include <gal/color4d.h> #include <gal/color4d.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <memory> #include <memory>
#include <wx/dc.h> #include <wx/dc.h>

View File

@ -104,7 +104,7 @@ private:
/** /**
* Map of all layer colors. * Map of all layer colors.
* The key needs to be a valid layer ID, see layers_id_colors_and_visibility.h * The key needs to be a valid layer ID, see layer_ids.h
*/ */
std::unordered_map<int, COLOR4D> m_colors; std::unordered_map<int, COLOR4D> m_colors;

View File

@ -28,7 +28,7 @@
#define EDIT_POINTS_H_ #define EDIT_POINTS_H_
#include <eda_item.h> #include <eda_item.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <list> #include <list>
#include <deque> #include <deque>

View File

@ -27,7 +27,7 @@
#include <wx/bmpcbox.h> #include <wx/bmpcbox.h>
#include <gal/color4d.h> #include <gal/color4d.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
using KIGFX::COLOR4D; using KIGFX::COLOR4D;

View File

@ -30,7 +30,7 @@
#define __AR_MATRIX_H #define __AR_MATRIX_H
#include <eda_rect.h> #include <eda_rect.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
class PCB_SHAPE; class PCB_SHAPE;
class PAD; class PAD;

View File

@ -28,7 +28,7 @@
#include <board_item_container.h> #include <board_item_container.h>
#include <common.h> // Needed for stl hash extensions #include <common.h> // Needed for stl hash extensions
#include <convert_drawsegment_list_to_polygon.h> // for OUTLINE_ERROR_HANDLER #include <convert_drawsegment_list_to_polygon.h> // for OUTLINE_ERROR_HANDLER
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <netinfo.h> #include <netinfo.h>
#include <pcb_item_containers.h> #include <pcb_item_containers.h>
#include <pcb_plot_params.h> #include <pcb_plot_params.h>

View File

@ -23,7 +23,7 @@
#include <pcb_dimension.h> #include <pcb_dimension.h>
#include <pcb_track.h> #include <pcb_track.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <pad.h> #include <pad.h>
#include <board_design_settings.h> #include <board_design_settings.h>

View File

@ -23,7 +23,7 @@
#include <convert_to_biu.h> #include <convert_to_biu.h>
#include <base_units.h> #include <base_units.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <board_design_settings.h> #include <board_design_settings.h>
#include <board.h> #include <board.h>
#include <i18n_utility.h> // For _HKI definition #include <i18n_utility.h> // For _HKI definition

View File

@ -28,7 +28,7 @@
#include <vector> #include <vector>
#include <wx/string.h> #include <wx/string.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
class BOARD; class BOARD;
class BOARD_DESIGN_SETTINGS; class BOARD_DESIGN_SETTINGS;

View File

@ -30,7 +30,7 @@
#include "board_stackup.h" #include "board_stackup.h"
#include <convert_to_biu.h> #include <convert_to_biu.h>
#include <core/arraydim.h> #include <core/arraydim.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <board_design_settings.h> #include <board_design_settings.h>
#include <i18n_utility.h> // _HKI definition #include <i18n_utility.h> // _HKI definition
#include <macros.h> #include <macros.h>

View File

@ -34,7 +34,7 @@
#include <wx/arrstr.h> #include <wx/arrstr.h>
#include <wx/colour.h> #include <wx/colour.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <i18n_utility.h> // For _HKI definition #include <i18n_utility.h> // For _HKI definition
// Keyword used in file to identify the dielectric layer type // Keyword used in file to identify the dielectric layer type

View File

@ -33,7 +33,7 @@
#include <collector.h> #include <collector.h>
#include <layers_id_colors_and_visibility.h> // LAYER_COUNT, layer defs #include <layer_ids.h> // LAYER_COUNT, layer defs
#include <view/view.h> #include <view/view.h>
#include <board_item.h> #include <board_item.h>

View File

@ -29,7 +29,7 @@
#include <board.h> #include <board.h>
#include <footprint.h> #include <footprint.h>
#include <dialogs/dialog_board_reannotate_base.h> #include <dialogs/dialog_board_reannotate_base.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <netlist_reader/pcb_netlist.h> #include <netlist_reader/pcb_netlist.h>
#include <pcb_base_frame.h> #include <pcb_base_frame.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>

View File

@ -19,7 +19,7 @@
*/ */
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <dialog_imported_layers.h> #include <dialog_imported_layers.h>
#include <wx/msgdlg.h> #include <wx/msgdlg.h>

View File

@ -32,7 +32,7 @@
#include <gerber_jobfile_writer.h> #include <gerber_jobfile_writer.h>
#include <reporter.h> #include <reporter.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <locale_io.h> #include <locale_io.h>
#include <bitmaps.h> #include <bitmaps.h>
#include <board.h> #include <board.h>

View File

@ -25,7 +25,7 @@
#include <dialogs/dialog_track_via_properties_base.h> #include <dialogs/dialog_track_via_properties_base.h>
#include <widgets/unit_binder.h> #include <widgets/unit_binder.h>
#include <core/optional.h> #include <core/optional.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
class PCB_SELECTION; class PCB_SELECTION;
class COMMIT; class COMMIT;

View File

@ -24,7 +24,7 @@
#include <footprint_edit_frame.h> #include <footprint_edit_frame.h>
#include <footprint_editor_settings.h> #include <footprint_editor_settings.h>
#include <gal/gal_display_options.h> #include <gal/gal_display_options.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <panel_fp_editor_color_settings.h> #include <panel_fp_editor_color_settings.h>
#include <settings/settings_manager.h> #include <settings/settings_manager.h>

View File

@ -22,7 +22,7 @@
#define PANEL_FP_EDITOR_COLOR_SETTINGS_H #define PANEL_FP_EDITOR_COLOR_SETTINGS_H
#include <gal/color4d.h> #include <gal/color4d.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <dialogs/panel_color_settings.h> #include <dialogs/panel_color_settings.h>
class COLOR_SETTINGS; class COLOR_SETTINGS;

View File

@ -22,7 +22,7 @@
#include <board.h> #include <board.h>
#include <gal/gal_display_options.h> #include <gal/gal_display_options.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <panel_pcbnew_color_settings.h> #include <panel_pcbnew_color_settings.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>

View File

@ -22,7 +22,7 @@
#define PANEL_PCBNEW_COLOR_SETTINGS_H_ #define PANEL_PCBNEW_COLOR_SETTINGS_H_
#include <gal/color4d.h> #include <gal/color4d.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <dialogs/panel_color_settings.h> #include <dialogs/panel_color_settings.h>
class COLOR_SETTINGS; class COLOR_SETTINGS;

View File

@ -27,7 +27,7 @@
#include <core/typeinfo.h> #include <core/typeinfo.h>
#include <core/optional.h> #include <core/optional.h>
#include <core/minoptmax.h> #include <core/minoptmax.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <netclass.h> #include <netclass.h>
#include <libeval_compiler/libeval_compiler.h> #include <libeval_compiler/libeval_compiler.h>
#include <wx/intl.h> #include <wx/intl.h>

View File

@ -25,7 +25,7 @@
#define DRC_RULE_CONDITION_H #define DRC_RULE_CONDITION_H
#include <core/typeinfo.h> #include <core/typeinfo.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
class BOARD_ITEM; class BOARD_ITEM;
class PCB_EXPR_UCODE; class PCB_EXPR_UCODE;

View File

@ -26,7 +26,7 @@
#include <core/typeinfo.h> #include <core/typeinfo.h>
#include <netclass.h> #include <netclass.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <drc/drc_rule.h> #include <drc/drc_rule.h>
#include <drc_rules_lexer.h> #include <drc_rules_lexer.h>

View File

@ -26,7 +26,7 @@
#ifndef PLACEFILE_GERBER_WRITER_H #ifndef PLACEFILE_GERBER_WRITER_H
#define PLACEFILE_GERBER_WRITER_H #define PLACEFILE_GERBER_WRITER_H
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <wx/gdicmn.h> #include <wx/gdicmn.h>
class BOARD; class BOARD;

View File

@ -31,7 +31,7 @@
#include <board_item.h> #include <board_item.h>
#include <collectors.h> #include <collectors.h>
#include <convert_to_biu.h> #include <convert_to_biu.h>
#include <layers_id_colors_and_visibility.h> // ALL_LAYERS definition. #include <layer_ids.h> // ALL_LAYERS definition.
#include <lib_id.h> #include <lib_id.h>
#include <list> #include <list>

View File

@ -20,7 +20,7 @@
#include <common.h> #include <common.h>
#include <footprint_editor_settings.h> #include <footprint_editor_settings.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <pgm_base.h> #include <pgm_base.h>
#include <settings/common_settings.h> #include <settings/common_settings.h>
#include <settings/json_settings_internals.h> #include <settings/json_settings_internals.h>

View File

@ -29,7 +29,7 @@
#include "graphics_importer.h" #include "graphics_importer.h"
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
class BOARD_ITEM; class BOARD_ITEM;
class BOARD; class BOARD;

View File

@ -28,7 +28,7 @@
#include <pcbnew.h> #include <pcbnew.h>
#include <pad.h> #include <pad.h>
#include <board_design_settings.h> #include <board_design_settings.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <pcb_display_options.h> #include <pcb_display_options.h>
#include <eda_text.h> #include <eda_text.h>

View File

@ -28,7 +28,7 @@
#define PCB_DRAW_PANEL_GAL_H_ #define PCB_DRAW_PANEL_GAL_H_
#include <class_draw_panel_gal.h> #include <class_draw_panel_gal.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <pcb_view.h> #include <pcb_view.h>
class DS_PROXY_VIEW_ITEM; class DS_PROXY_VIEW_ITEM;

View File

@ -23,7 +23,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <settings/color_settings.h> #include <settings/color_settings.h>
#include <board.h> #include <board.h>

View File

@ -29,7 +29,7 @@
#include <board.h> #include <board.h>
#include <board_design_settings.h> #include <board_design_settings.h>
#include <pcb_marker.h> #include <pcb_marker.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <settings/color_settings.h> #include <settings/color_settings.h>
#include <settings/settings_manager.h> #include <settings/settings_manager.h>
#include <geometry/shape_null.h> #include <geometry/shape_null.h>

View File

@ -41,7 +41,7 @@
#include <advanced_config.h> #include <advanced_config.h>
#include <core/arraydim.h> #include <core/arraydim.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <pcb_painter.h> #include <pcb_painter.h>
#include <pcb_display_options.h> #include <pcb_display_options.h>
#include <project/net_settings.h> #include <project/net_settings.h>

View File

@ -23,7 +23,7 @@
#include <board_design_settings.h> #include <board_design_settings.h>
#include <convert_to_biu.h> #include <convert_to_biu.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <macros.h> #include <macros.h>
#include <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND
#include <pcb_plot_params.h> #include <pcb_plot_params.h>

View File

@ -25,7 +25,7 @@
#include <outline_mode.h> #include <outline_mode.h>
#include <plotter.h> #include <plotter.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
class COLOR_SETTINGS; class COLOR_SETTINGS;
class PCB_PLOT_PARAMS_PARSER; class PCB_PLOT_PARAMS_PARSER;

View File

@ -25,7 +25,7 @@
*/ */
#include <pcb_screen.h> #include <pcb_screen.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
PCB_SCREEN::PCB_SCREEN( const wxSize& aPageSizeIU ) : PCB_SCREEN::PCB_SCREEN( const wxSize& aPageSizeIU ) :

View File

@ -25,7 +25,7 @@
#ifndef __PCB_VIEW_H #ifndef __PCB_VIEW_H
#define __PCB_VIEW_H #define __PCB_VIEW_H
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <view/view.h> #include <view/view.h>
#include <board_item.h> #include <board_item.h>

View File

@ -25,7 +25,7 @@
#include <common.h> #include <common.h>
#include <footprint_editor_settings.h> #include <footprint_editor_settings.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <pgm_base.h> #include <pgm_base.h>
#include <router/pns_routing_settings.h> #include <router/pns_routing_settings.h>

View File

@ -29,7 +29,7 @@
#ifndef PCBPLOT_H_ #ifndef PCBPLOT_H_
#define PCBPLOT_H_ #define PCBPLOT_H_
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <pad_shapes.h> #include <pad_shapes.h>
#include <pcb_plot_params.h> #include <pcb_plot_params.h>
#include <settings/color_settings.h> #include <settings/color_settings.h>

View File

@ -46,7 +46,7 @@
#include <gal/color4d.h> // for COLOR4D, operator!= #include <gal/color4d.h> // for COLOR4D, operator!=
#include <gbr_metadata.h> #include <gbr_metadata.h>
#include <gbr_netlist_metadata.h> // for GBR_NETLIST_METADATA #include <gbr_netlist_metadata.h> // for GBR_NETLIST_METADATA
#include <layers_id_colors_and_visibility.h> // for LSET, IsCopperLayer #include <layer_ids.h> // for LSET, IsCopperLayer
#include <pad_shapes.h> // for PAD_ATTRIB::NPTH #include <pad_shapes.h> // for PAD_ATTRIB::NPTH
#include <pcbplot.h> #include <pcbplot.h>
#include <pcb_plot_params.h> // for PCB_PLOT_PARAMS, PCB_PL... #include <pcb_plot_params.h> // for PCB_PLOT_PARAMS, PCB_PL...

View File

@ -31,7 +31,7 @@
#define PLOTCONTROLLER_H_ #define PLOTCONTROLLER_H_
#include <pcb_plot_params.h> #include <pcb_plot_params.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
class PLOTTER; class PLOTTER;
class BOARD; class BOARD;

View File

@ -25,7 +25,7 @@
#define ALTIUM_PCB_H #define ALTIUM_PCB_H
#include <functional> #include <functional>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <vector> #include <vector>
#include <altium_parser_pcb.h> #include <altium_parser_pcb.h>

View File

@ -29,7 +29,7 @@
#include <io_mgr.h> #include <io_mgr.h>
#include <layers_id_colors_and_visibility.h> // PCB_LAYER_ID #include <layer_ids.h> // PCB_LAYER_ID
#include <plugins/common/plugin_common_layer_mapping.h> #include <plugins/common/plugin_common_layer_mapping.h>

View File

@ -26,7 +26,7 @@
#include <map> #include <map>
#include <io_mgr.h> #include <io_mgr.h>
#include <layers_id_colors_and_visibility.h> // PCB_LAYER_ID #include <layer_ids.h> // PCB_LAYER_ID
/** /**
* @brief Describes an imported layer and how it could be mapped to KiCad Layers * @brief Describes an imported layer and how it could be mapped to KiCad Layers

View File

@ -27,7 +27,7 @@
#include <convert_to_biu.h> #include <convert_to_biu.h>
#include <io_mgr.h> #include <io_mgr.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <plugins/eagle/eagle_parser.h> #include <plugins/eagle/eagle_parser.h>
#include <plugins/common/plugin_common_layer_mapping.h> #include <plugins/common/plugin_common_layer_mapping.h>

View File

@ -27,7 +27,7 @@
#include <io_mgr.h> #include <io_mgr.h>
#include <string> #include <string>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
class BOARD; class BOARD;
class BOARD_ITEM; class BOARD_ITEM;

View File

@ -33,7 +33,7 @@
#include <convert_to_biu.h> // IU_PER_MM #include <convert_to_biu.h> // IU_PER_MM
#include <core/wx_stl_compat.h> #include <core/wx_stl_compat.h>
#include <hashtables.h> #include <hashtables.h>
#include <layers_id_colors_and_visibility.h> // PCB_LAYER_ID #include <layer_ids.h> // PCB_LAYER_ID
#include <pcb_lexer.h> #include <pcb_lexer.h>
#include <kiid.h> #include <kiid.h>

View File

@ -27,7 +27,7 @@
#include <io_mgr.h> #include <io_mgr.h>
#include <string> #include <string>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <memory> #include <memory>

View File

@ -30,7 +30,7 @@
#ifndef PCB_CALLBACKS_H_ #ifndef PCB_CALLBACKS_H_
#define PCB_CALLBACKS_H_ #define PCB_CALLBACKS_H_
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
class wxString; class wxString;

View File

@ -31,7 +31,7 @@
#include <pcad/pcb_callbacks.h> #include <pcad/pcb_callbacks.h>
#include <kiid.h> #include <kiid.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <wx/object.h> #include <wx/object.h>
class BOARD; class BOARD;

View File

@ -42,7 +42,7 @@ file near the top; only class BOARD functions go in board.i.
HANDLE_EXCEPTIONS(BOARD::TracksInNetBetweenPoints) HANDLE_EXCEPTIONS(BOARD::TracksInNetBetweenPoints)
%include layers_id_colors_and_visibility.i %include layer_ids.i
%include board_item.i %include board_item.i
%include board_item_container.i %include board_item_container.i
%include board_connected_item.i %include board_connected_item.i

View File

@ -27,7 +27,7 @@
*/ */
/** /**
* @file layers_id_colors_and_visibility.i * @file layer_ids.i
* @brief layers IDs, draw layers IDs, layers set and templates * @brief layers IDs, draw layers IDs, layers set and templates
* these IDs are used as physical layers or draw layers (for colors, visibility...) * these IDs are used as physical layers or draw layers (for colors, visibility...)
*/ */
@ -37,7 +37,7 @@
%ignore GAL_SET::set(int, bool); %ignore GAL_SET::set(int, bool);
%ignore GAL_SET::set(int); %ignore GAL_SET::set(int);
%include layers_id_colors_and_visibility.h %include layer_ids.h
// Extend LSET by 2 methods to add or remove layers from the layer list // Extend LSET by 2 methods to add or remove layers from the layer list
// Mainly used to add or remove layers of a pad layer list // Mainly used to add or remove layers of a pad layer list
@ -64,6 +64,6 @@
%} %}
} }
%{ %{
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <pcbnew_scripting_helpers.h> #include <pcbnew_scripting_helpers.h>
%} %}

View File

@ -34,7 +34,7 @@
#include <pcb_painter.h> #include <pcb_painter.h>
#include <ratsnest/ratsnest_data.h> #include <ratsnest/ratsnest_data.h>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <pcb_base_frame.h> #include <pcb_base_frame.h>
#include <memory> #include <memory>

View File

@ -27,7 +27,7 @@
#include <map> #include <map>
#include <unordered_set> #include <unordered_set>
#include <layers_id_colors_and_visibility.h> #include <layer_ids.h>
#include <geometry/shape_index.h> #include <geometry/shape_index.h>
#include "pns_item.h" #include "pns_item.h"

Some files were not shown because too many files have changed in this diff Show More