mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-07 21:55:32 +00:00
Fail GAL on its header leaking audit
Maybe we should rethink directly accessing GAL so much, but at least 600 files didn't need GAL leaked into them due to view_overlay.h
This commit is contained in:
parent
a568e4f4d3
commit
22b733209d
common
eeschema
dialogs
erc.cpplib_field.cpplib_item.cpplib_text.cppnavlib
sch_base_frame.cppsch_edit_frame.cppsch_screen.cppsymbol_editor
symbol_viewer_frame.cpptools
ee_grid_helper.cppee_inspection_tool.cppee_point_editor.cppee_selection_tool.cppsch_drawing_tools.cppsch_line_wire_bus_tool.cppsch_move_tool.cppsymbol_editor_drawing_tools.cppsymbol_editor_move_tool.cpp
widgets
gerbview
include
pagelayout_editor
pcbnew
board_item.cpp
dialogs
footprint_edit_frame.cppfootprint_preview_panel.cppfootprint_viewer_frame.cppfp_tree_synchronizing_adapter.cppnavlib
pcb_base_edit_frame.cpppcb_dimension.cpppcb_edit_frame.cpppcbnew_printout.cppplugins
python/scripting
ratsnest
router
tools
qa/qa_utils
@ -28,6 +28,7 @@
|
||||
|
||||
#include <view/view.h>
|
||||
#include <gal/gal_print.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <gal/painter.h>
|
||||
#include <pcbplot.h>
|
||||
#include <settings/app_settings.h>
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <drawing_sheet/ds_draw_item.h>
|
||||
#include <drawing_sheet/ds_data_item.h>
|
||||
#include <drawing_sheet/ds_painter.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <project.h>
|
||||
#include <view/view.h>
|
||||
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include <dialogs/hotkey_cycle_popup.h>
|
||||
#include <eda_draw_frame.h>
|
||||
#include <file_history.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <id.h>
|
||||
#include <kiface_base.h>
|
||||
#include <lockfile.h>
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include <trigo.h>
|
||||
#include <font/fontconfig.h>
|
||||
#include <convert_basic_shapes_to_polygon.h>
|
||||
#include <core/utf8.h>
|
||||
|
||||
using namespace KIFONT;
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <preview_items/draw_context.h>
|
||||
#include <preview_items/preview_utils.h>
|
||||
#include <view/view.h>
|
||||
|
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
#include <preview_items/polygon_item.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <gal/painter.h>
|
||||
#include <view/view.h>
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <preview_items/two_point_assistant.h>
|
||||
#include <preview_items/draw_context.h>
|
||||
#include <preview_items/preview_utils.h>
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <functional>
|
||||
using namespace std::placeholders;
|
||||
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <math/util.h> // for KiROUND
|
||||
#include <math/vector2d.h>
|
||||
#include <tool/tool_manager.h>
|
||||
@ -158,3 +159,7 @@ VECTOR2I GRID_HELPER::Align( const VECTOR2I& aPoint, const VECTOR2D& aGrid,
|
||||
}
|
||||
|
||||
|
||||
bool GRID_HELPER::canUseGrid() const
|
||||
{
|
||||
return m_enableGrid && m_toolMgr->GetView()->GetGAL()->GetGridSnapping();
|
||||
}
|
@ -22,6 +22,7 @@
|
||||
|
||||
#include <eeschema_settings.h>
|
||||
#include <gal/gal_display_options.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <layer_ids.h>
|
||||
#include <lib_shape.h>
|
||||
#include <math/vector2wx.h>
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <common.h> // for ExpandEnvVarSubstitutions
|
||||
#include <erc.h>
|
||||
#include <erc_sch_pin_context.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <string_utils.h>
|
||||
#include <lib_pin.h>
|
||||
#include <sch_edit_frame.h>
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <sch_draw_panel.h>
|
||||
#include <eda_draw_frame.h>
|
||||
#include <plotters/plotter.h>
|
||||
#include <font/font.h>
|
||||
#include <trigo.h>
|
||||
#include <base_units.h>
|
||||
#include <widgets/msgpanel.h>
|
||||
|
@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
#include <pgm_base.h>
|
||||
#include <font/font.h>
|
||||
#include <settings/settings_manager.h>
|
||||
#include <eeschema_settings.h>
|
||||
#include <sch_draw_panel.h>
|
||||
|
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <font/font.h>
|
||||
#include <sch_draw_panel.h>
|
||||
#include <plotters/plotter.h>
|
||||
#include <trigo.h>
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "nl_schematic_plugin_impl.h"
|
||||
|
||||
// KiCAD includes
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <sch_base_frame.h>
|
||||
#include <bitmaps.h>
|
||||
#include <class_draw_panel_gal.h>
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <pgm_base.h>
|
||||
#include <eda_list_dialog.h>
|
||||
#include <eeschema_settings.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <project/project_file.h>
|
||||
#include <symbol_editor/symbol_editor_settings.h>
|
||||
#include <sch_draw_panel.h>
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include <dialogs/dialog_symbol_fields_table.h>
|
||||
#include <eeschema_id.h>
|
||||
#include <executable_names.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <gestfich.h>
|
||||
#include <dialogs/html_message_box.h>
|
||||
#include <core/ignore.h>
|
||||
|
@ -24,6 +24,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <stack>
|
||||
#include <wx/filefn.h>
|
||||
|
||||
#include <eda_item.h>
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include <eeschema_id.h>
|
||||
#include <eeschema_settings.h>
|
||||
#include <env_paths.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <kiface_base.h>
|
||||
#include <kiplatform/app.h>
|
||||
#include <kiway_express.h>
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <dialogs/html_message_box.h>
|
||||
#include <eeschema_id.h>
|
||||
#include <eeschema_settings.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <kiface_base.h>
|
||||
#include <kiway.h>
|
||||
#include <kiway_express.h>
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
#include <functional>
|
||||
#include <macros.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <sch_item.h>
|
||||
#include <sch_line.h>
|
||||
#include <sch_painter.h>
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <kiway.h>
|
||||
#include <confirm.h>
|
||||
#include <string_utils.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <tool/conditional_menu.h>
|
||||
#include <tool/selection_conditions.h>
|
||||
#include <tools/ee_actions.h>
|
||||
|
@ -30,6 +30,7 @@ using namespace std::placeholders;
|
||||
#include <tool/tool_manager.h>
|
||||
#include <sch_commit.h>
|
||||
#include <view/view_controls.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <geometry/seg.h>
|
||||
#include <tools/ee_actions.h>
|
||||
#include <tools/ee_selection_tool.h>
|
||||
|
@ -24,6 +24,7 @@
|
||||
|
||||
#include <core/typeinfo.h>
|
||||
#include <core/kicad_algo.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <geometry/shape_compound.h>
|
||||
#include <ee_actions.h>
|
||||
#include <ee_collectors.h>
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <tools/sch_line_wire_bus_tool.h>
|
||||
#include <tools/ee_selection_tool.h>
|
||||
#include <tools/ee_grid_helper.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <ee_actions.h>
|
||||
#include <sch_edit_frame.h>
|
||||
#include <pgm_base.h>
|
||||
|
@ -38,6 +38,7 @@
|
||||
#include <layer_ids.h>
|
||||
#include <math/vector2d.h>
|
||||
#include <advanced_config.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
#include <tool/actions.h>
|
||||
#include <tool/conditional_menu.h>
|
||||
#include <tool/selection.h>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user