Painter base class should just live in gal instead of being in denial

This commit is contained in:
Marek Roszko 2023-09-06 20:23:19 -04:00
parent a6a20bf8dc
commit 67b031adab
30 changed files with 29 additions and 29 deletions

View File

@ -28,7 +28,7 @@
#include <view/view.h> #include <view/view.h>
#include <gal/gal_print.h> #include <gal/gal_print.h>
#include <painter.h> #include <gal/painter.h>
#include <pcbplot.h> #include <pcbplot.h>
#include <settings/app_settings.h> #include <settings/app_settings.h>

View File

@ -35,7 +35,7 @@
#include <class_draw_panel_gal.h> #include <class_draw_panel_gal.h>
#include <view/view.h> #include <view/view.h>
#include <view/wx_view_controls.h> #include <view/wx_view_controls.h>
#include <painter.h> #include <gal/painter.h>
#include <base_screen.h> #include <base_screen.h>
#include <gal/cursors.h> #include <gal/cursors.h>
#include <gal/graphics_abstraction_layer.h> #include <gal/graphics_abstraction_layer.h>

View File

@ -4,7 +4,7 @@ set( GAL_SRCS
../callback_gal.cpp ../callback_gal.cpp
../gl_context_mgr.cpp ../gl_context_mgr.cpp
../newstroke_font.cpp ../newstroke_font.cpp
../painter.cpp painter.cpp
color4d.cpp color4d.cpp
cursors.cpp cursors.cpp
dpi_scaling.cpp dpi_scaling.cpp

View File

@ -24,7 +24,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <painter.h> #include <gal/painter.h>
#include <gal/graphics_abstraction_layer.h> #include <gal/graphics_abstraction_layer.h>
using namespace KIGFX; using namespace KIGFX;

View File

@ -22,7 +22,7 @@
*/ */
#include <preview_items/polygon_item.h> #include <preview_items/polygon_item.h>
#include <painter.h> #include <gal/painter.h>
#include <view/view.h> #include <view/view.h>
using namespace KIGFX::PREVIEW; using namespace KIGFX::PREVIEW;

View File

@ -20,7 +20,7 @@
#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 <base_units.h> #include <base_units.h>
#include <painter.h> #include <gal/painter.h>
#include <view/view.h> #include <view/view.h>
#include <gal/hidpi_gl_canvas.h> #include <gal/hidpi_gl_canvas.h>

View File

@ -25,7 +25,7 @@
#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 <layer_ids.h> #include <layer_ids.h>
#include <painter.h> #include <gal/painter.h>
#include <view/view.h> #include <view/view.h>
#include <trigo.h> #include <trigo.h>

View File

@ -25,7 +25,7 @@
#include <preview_items/selection_area.h> #include <preview_items/selection_area.h>
#include <gal/graphics_abstraction_layer.h> #include <gal/graphics_abstraction_layer.h>
#include <painter.h> #include <gal/painter.h>
#include <view/view.h> #include <view/view.h>
using namespace KIGFX::PREVIEW; using namespace KIGFX::PREVIEW;

View File

@ -25,7 +25,7 @@
#include <base_screen.h> #include <base_screen.h>
#include <base_units.h> #include <base_units.h>
#include <painter.h> #include <gal/painter.h>
#include <bitmaps.h> #include <bitmaps.h>
#include <class_draw_panel_gal.h> #include <class_draw_panel_gal.h>
#include <dialogs/dialog_configure_paths.h> #include <dialogs/dialog_configure_paths.h>

View File

@ -25,7 +25,7 @@
#include <gal/graphics_abstraction_layer.h> #include <gal/graphics_abstraction_layer.h>
#include <gal/color4d.h> #include <gal/color4d.h>
#include <painter.h> #include <gal/painter.h>
#include <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND
#include "tool/edit_points.h" #include "tool/edit_points.h"

View File

@ -24,7 +24,7 @@
#include <view/view.h> #include <view/view.h>
#include <painter.h> #include <gal/painter.h>
#include <class_draw_panel_gal.h> #include <class_draw_panel_gal.h>
#include <eda_base_frame.h> #include <eda_base_frame.h>
#include <eda_draw_frame.h> #include <eda_draw_frame.h>

View File

@ -38,7 +38,7 @@
#include <gal/definitions.h> #include <gal/definitions.h>
#include <gal/graphics_abstraction_layer.h> #include <gal/graphics_abstraction_layer.h>
#include <painter.h> #include <gal/painter.h>
#include <profile.h> #include <profile.h>

View File

@ -36,7 +36,7 @@
#include <view/view_group.h> #include <view/view_group.h>
#include <view/view.h> #include <view/view.h>
#include <view/view_item.h> #include <view/view_item.h>
#include <painter.h> #include <gal/painter.h>
#include <gal/graphics_abstraction_layer.h> #include <gal/graphics_abstraction_layer.h>
#include <layer_ids.h> #include <layer_ids.h>

View File

@ -28,7 +28,7 @@
#include <view/view_item.h> #include <view/view_item.h>
#include <view/view_overlay.h> #include <view/view_overlay.h>
#include <gal/graphics_abstraction_layer.h> #include <gal/graphics_abstraction_layer.h>
#include <painter.h> #include <gal/painter.h>
#include <layer_ids.h> #include <layer_ids.h>
#include <geometry/seg.h> #include <geometry/seg.h>

View File

@ -29,7 +29,7 @@
#include <sch_symbol.h> #include <sch_symbol.h>
#include <painter.h> #include <gal/painter.h>
class LIB_PIN; class LIB_PIN;

View File

@ -22,7 +22,7 @@
#define __GERBVIEW_PAINTER_H #define __GERBVIEW_PAINTER_H
#include <layer_ids.h> #include <layer_ids.h>
#include <painter.h> #include <gal/painter.h>
#include <dcode.h> #include <dcode.h>
#include <gbr_display_options.h> #include <gbr_display_options.h>

View File

@ -28,7 +28,7 @@
#include <gerbview_id.h> #include <gerbview_id.h>
#include "gerbview_inspection_tool.h" #include "gerbview_inspection_tool.h"
#include "gerbview_actions.h" #include "gerbview_actions.h"
#include <painter.h> #include <gal/painter.h>
#include <pgm_base.h> #include <pgm_base.h>
#include <preview_items/ruler_item.h> #include <preview_items/ruler_item.h>
#include <preview_items/selection_area.h> #include <preview_items/selection_area.h>

View File

@ -29,7 +29,7 @@ using namespace std::placeholders;
#include <string_utils.h> #include <string_utils.h>
#include <view/view.h> #include <view/view.h>
#include <view/view_group.h> #include <view/view_group.h>
#include <painter.h> #include <gal/painter.h>
#include <tool/tool_event.h> #include <tool/tool_event.h>
#include <tool/tool_manager.h> #include <tool/tool_manager.h>
#include "gerbview_selection_tool.h" #include "gerbview_selection_tool.h"

View File

@ -27,7 +27,7 @@
#define DS_PAINTER_H #define DS_PAINTER_H
#include <gal/color4d.h> #include <gal/color4d.h>
#include <painter.h> #include <gal/painter.h>
#include <page_info.h> #include <page_info.h>
#include <drawing_sheet/ds_draw_item.h> #include <drawing_sheet/ds_draw_item.h>

View File

@ -24,7 +24,7 @@
#ifndef PREVIEW_PREVIEW_DRAW_CONTEXT__H_ #ifndef PREVIEW_PREVIEW_DRAW_CONTEXT__H_
#define PREVIEW_PREVIEW_DRAW_CONTEXT__H_ #define PREVIEW_PREVIEW_DRAW_CONTEXT__H_
#include <painter.h> #include <gal/painter.h>
#include <math/vector2d.h> #include <math/vector2d.h>
namespace KIGFX namespace KIGFX

View File

@ -32,7 +32,7 @@
#include <panel_hotkeys_editor.h> #include <panel_hotkeys_editor.h>
#include <confirm.h> #include <confirm.h>
#include <kiplatform/app.h> #include <kiplatform/app.h>
#include <painter.h> #include <gal/painter.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>
#include <tool/selection.h> #include <tool/selection.h>
#include <tool/action_toolbar.h> #include <tool/action_toolbar.h>

View File

@ -45,7 +45,7 @@
#include <string_utils.h> #include <string_utils.h>
#include <netlist_reader/pcb_netlist.h> #include <netlist_reader/pcb_netlist.h>
#include <netlist_reader/board_netlist_updater.h> #include <netlist_reader/board_netlist_updater.h>
#include <painter.h> #include <gal/painter.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <render_settings.h> #include <render_settings.h>

View File

@ -29,7 +29,7 @@
#define PCB_PAINTER_H #define PCB_PAINTER_H
#include <frame_type.h> #include <frame_type.h>
#include <painter.h> #include <gal/painter.h>
#include <pcb_display_options.h> #include <pcb_display_options.h>
#include <math/vector2d.h> #include <math/vector2d.h>
#include <memory> #include <memory>

View File

@ -49,7 +49,7 @@ using namespace std::placeholders;
#include <confirm.h> #include <confirm.h>
#include <bitmaps.h> #include <bitmaps.h>
#include <string_utils.h> #include <string_utils.h>
#include <painter.h> #include <gal/painter.h>
#include <tool/action_menu.h> #include <tool/action_menu.h>
#include <tool/tool_manager.h> #include <tool/tool_manager.h>
#include <tool/tool_menu.h> #include <tool/tool_menu.h>

View File

@ -29,7 +29,7 @@
#include <tool/tool_manager.h> #include <tool/tool_manager.h>
#include <board_commit.h> #include <board_commit.h>
#include <scoped_set_reset.h> #include <scoped_set_reset.h>
#include <painter.h> #include <gal/painter.h>
#include <tools/zone_filler_tool.h> #include <tools/zone_filler_tool.h>
#include <board_design_settings.h> #include <board_design_settings.h>
#include <footprint.h> #include <footprint.h>

View File

@ -58,7 +58,7 @@
#include <confirm.h> #include <confirm.h>
#include <footprint.h> #include <footprint.h>
#include <macros.h> #include <macros.h>
#include <painter.h> #include <gal/painter.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcb_group.h> #include <pcb_group.h>
#include <pcb_bitmap.h> #include <pcb_bitmap.h>

View File

@ -42,7 +42,7 @@
#include <geometry/shape_simple.h> #include <geometry/shape_simple.h>
#include <macros.h> #include <macros.h>
#include <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND
#include <painter.h> #include <gal/painter.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <tool/tool_manager.h> #include <tool/tool_manager.h>
#include <tools/pcb_tool_base.h> #include <tools/pcb_tool_base.h>

View File

@ -35,7 +35,7 @@ using namespace std::placeholders;
#include <class_draw_panel_gal.h> #include <class_draw_panel_gal.h>
#include <view/view_controls.h> #include <view/view_controls.h>
#include <view/view_group.h> #include <view/view_group.h>
#include <painter.h> #include <gal/painter.h>
#include <bitmaps.h> #include <bitmaps.h>
#include <tool/tool_event.h> #include <tool/tool_event.h>
#include <tool/tool_manager.h> #include <tool/tool_manager.h>

View File

@ -51,7 +51,7 @@ using namespace std::placeholders;
#include <class_draw_panel_gal.h> #include <class_draw_panel_gal.h>
#include <view/view_controls.h> #include <view/view_controls.h>
#include <preview_items/selection_area.h> #include <preview_items/selection_area.h>
#include <painter.h> #include <gal/painter.h>
#include <router/router_tool.h> #include <router/router_tool.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <tool/tool_event.h> #include <tool/tool_event.h>