Remove painter.h from eda_text.h

This commit is contained in:
Marek Roszko 2020-10-14 07:29:36 -04:00
parent 5302f7ce73
commit f59551d6ad
17 changed files with 29 additions and 5 deletions

View File

@ -36,6 +36,7 @@
#include <msgpanel.h> #include <msgpanel.h>
#include <page_info.h> #include <page_info.h>
#include <pgm_base.h> #include <pgm_base.h>
#include <render_settings.h>
#include <settings/app_settings.h> #include <settings/app_settings.h>
#include <settings/color_settings.h> #include <settings/color_settings.h>
#include <settings/common_settings.h> #include <settings/common_settings.h>

View File

@ -46,6 +46,7 @@
#include <kicad_string.h> // for UnescapeString #include <kicad_string.h> // for UnescapeString
#include <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND
#include <math/vector2d.h> // for VECTOR2D #include <math/vector2d.h> // for VECTOR2D
#include <render_settings.h>
#include <trigo.h> // for RotatePoint #include <trigo.h> // for RotatePoint
#include <geometry/shape.h> #include <geometry/shape.h>

View File

@ -58,6 +58,7 @@
#include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h>
#include <gr_basic.h> #include <gr_basic.h>
#include <trigo.h> #include <trigo.h>
#include <render_settings.h>
// ============================ BASE CLASS ============================== // ============================ BASE CLASS ==============================

View File

@ -33,6 +33,7 @@
#include <macros.h> #include <macros.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <convert_basic_shapes_to_polygon.h> #include <convert_basic_shapes_to_polygon.h>
#include <render_settings.h>
#include <trigo.h> #include <trigo.h>
/** /**

View File

@ -29,6 +29,7 @@
#include <kicad_string.h> #include <kicad_string.h>
#include <convert_basic_shapes_to_polygon.h> #include <convert_basic_shapes_to_polygon.h>
#include <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND
#include <render_settings.h>
#include <trigo.h> #include <trigo.h>
#include <build_version.h> #include <build_version.h>

View File

@ -33,6 +33,7 @@
#include <wx/zstream.h> #include <wx/zstream.h>
#include <wx/mstream.h> #include <wx/mstream.h>
#include <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND
#include <render_settings.h>
#include <algorithm> #include <algorithm>

View File

@ -32,6 +32,7 @@
#include <eda_item.h> #include <eda_item.h>
#include <convert_basic_shapes_to_polygon.h> #include <convert_basic_shapes_to_polygon.h>
#include <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND
#include <render_settings.h>
#include <trigo.h> #include <trigo.h>
#include "plotters_pslike.h" #include "plotters_pslike.h"

View File

@ -102,6 +102,7 @@
#include <cstdint> #include <cstdint>
#include <wx/mstream.h> #include <wx/mstream.h>
#include <render_settings.h>
#include "plotters_pslike.h" #include "plotters_pslike.h"

View File

@ -24,6 +24,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 <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND
#include "tool/edit_points.h" #include "tool/edit_points.h"

View File

@ -27,12 +27,17 @@
#include <common.h> // wxStringSplit #include <common.h> // wxStringSplit
#include <eda_rect.h> #include <eda_rect.h>
#include "painter.h"
class SHAPE_COMPOUND; class SHAPE_COMPOUND;
class SHAPE_POLY_SET; class SHAPE_POLY_SET;
class wxFindReplaceData; class wxFindReplaceData;
namespace KIGFX
{
class RENDER_SETTINGS;
class COLOR4D;
}
using KIGFX::RENDER_SETTINGS; using KIGFX::RENDER_SETTINGS;
using KIGFX::COLOR4D; using KIGFX::COLOR4D;

View File

@ -35,9 +35,6 @@
#include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h>
#include <memory> #include <memory>
class EDA_ITEM;
class COLOR_SETTINGS;
namespace KIGFX namespace KIGFX
{ {
class GAL; class GAL;

View File

@ -36,6 +36,7 @@
#include <math/box2.h> #include <math/box2.h>
#include <gr_text.h> #include <gr_text.h>
#include <page_info.h> #include <page_info.h>
#include <gal/color4d.h>
#include <eda_item.h> // FILL_T #include <eda_item.h> // FILL_T
class COLOR_SETTINGS; class COLOR_SETTINGS;
@ -43,6 +44,13 @@ class SHAPE_POLY_SET;
class SHAPE_LINE_CHAIN; class SHAPE_LINE_CHAIN;
class GBR_NETLIST_METADATA; class GBR_NETLIST_METADATA;
namespace KIGFX
{
class RENDER_SETTINGS;
}
using KIGFX::RENDER_SETTINGS;
/** /**
* Enum PlotFormat * Enum PlotFormat
* is the set of supported output plot formats. They should be kept in order * is the set of supported output plot formats. They should be kept in order

View File

@ -31,7 +31,6 @@
#include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h>
#include <memory> #include <memory>
class EDA_ITEM;
class COLOR_SETTINGS; class COLOR_SETTINGS;
namespace KIGFX namespace KIGFX

View File

@ -35,6 +35,8 @@
#include <view/view_overlay.h> #include <view/view_overlay.h>
class EDA_ITEM;
namespace KIGFX namespace KIGFX
{ {
class PAINTER; class PAINTER;

View File

@ -19,6 +19,7 @@
#include <pgm_base.h> #include <pgm_base.h>
#include <settings/settings_manager.h> #include <settings/settings_manager.h>
#include <painter.h>
#include <view/view.h> #include <view/view.h>
#include "panel_pl_editor_color_settings.h" #include "panel_pl_editor_color_settings.h"

View File

@ -36,6 +36,7 @@
#include <view/view.h> #include <view/view.h>
#include <confirm.h> #include <confirm.h>
#include <kiplatform/app.h> #include <kiplatform/app.h>
#include <painter.h>
#include <tool/selection.h> #include <tool/selection.h>
#include <tool/action_toolbar.h> #include <tool/action_toolbar.h>
#include <tool/editor_conditions.h> #include <tool/editor_conditions.h>

View File

@ -40,8 +40,10 @@
#include <kiway_express.h> #include <kiway_express.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 <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <render_settings.h>
#include <tool/tool_manager.h> #include <tool/tool_manager.h>
#include <tools/pcb_actions.h> #include <tools/pcb_actions.h>
#include <tools/selection_tool.h> #include <tools/selection_tool.h>