Avoid including plotters/plotter.h in many files.
It avoid a large rebuild when modifying the plot code.
This commit is contained in:
parent
5af00486c3
commit
78087597cd
|
@ -36,6 +36,7 @@
|
|||
#include <scintilla_tricks.h>
|
||||
#include <dialog_lib_textbox_properties.h>
|
||||
#include "symbol_editor_drawing_tools.h"
|
||||
#include <gr_text.h>
|
||||
|
||||
DIALOG_LIB_TEXTBOX_PROPERTIES::DIALOG_LIB_TEXTBOX_PROPERTIES( SYMBOL_EDIT_FRAME* aParent,
|
||||
LIB_TEXTBOX* aTextBox ) :
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <dialog_sheet_pin_properties.h>
|
||||
#include <dialogs/html_message_box.h>
|
||||
#include <string_utils.h>
|
||||
#include <gr_text.h>
|
||||
|
||||
|
||||
DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES( SCH_EDIT_FRAME* parent,
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include <string_utils.h>
|
||||
#include <scintilla_tricks.h>
|
||||
#include <dialog_text_properties.h>
|
||||
#include <gr_text.h>
|
||||
|
||||
|
||||
DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES( SCH_EDIT_FRAME* aParent, SCH_ITEM* aTextItem ) :
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include <sch_editor_control.h>
|
||||
#include "widgets/wx_html_report_panel.h"
|
||||
|
||||
|
||||
// Saved dialog settings
|
||||
DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB_SAVED_STATE
|
||||
DIALOG_UPDATE_FROM_PCB::s_savedDialogState{ false, true, true, true, false };
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
#include <trigo.h>
|
||||
#include <string_utils.h>
|
||||
#include "sch_painter.h"
|
||||
#include "plotters/plotter.h"
|
||||
|
||||
|
||||
// small margin in internal units between the pin text and the pin line
|
||||
#define PIN_TEXT_MARGIN 4
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <eda_draw_frame.h>
|
||||
#include <general.h>
|
||||
#include <lib_shape.h>
|
||||
#include "plotters/plotter.h"
|
||||
|
||||
|
||||
LIB_SHAPE::LIB_SHAPE( LIB_SYMBOL* aParent, SHAPE_T aShape, int aLineWidth, FILL_T aFillType,
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include <schematic.h>
|
||||
#include <settings/color_settings.h>
|
||||
#include <sch_painter.h>
|
||||
#include <wx/log.h>
|
||||
#include <dialogs/html_message_box.h>
|
||||
#include <project/project_file.h>
|
||||
#include <project/net_settings.h>
|
||||
|
@ -39,6 +38,7 @@
|
|||
#include <trigo.h>
|
||||
#include <lib_textbox.h>
|
||||
|
||||
|
||||
using KIGFX::SCH_RENDER_SETTINGS;
|
||||
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include <advanced_config.h>
|
||||
#include <connection_graph.h>
|
||||
#include "sch_painter.h"
|
||||
#include "plotters/plotter.h"
|
||||
|
||||
|
||||
SCH_BUS_ENTRY_BASE::SCH_BUS_ENTRY_BASE( KICAD_T aType, const VECTOR2I& pos, bool aFlipY ) :
|
||||
|
|
|
@ -30,10 +30,11 @@
|
|||
#include <set>
|
||||
|
||||
#include <eda_item.h>
|
||||
#include <plotters/plotter.h>
|
||||
#include <default_values.h>
|
||||
#include <sch_sheet_path.h>
|
||||
#include <netclass.h>
|
||||
#include <stroke_params.h>
|
||||
#include <layer_ids.h>
|
||||
|
||||
class CONNECTION_GRAPH;
|
||||
class SCH_CONNECTION;
|
||||
|
@ -45,6 +46,7 @@ class wxFindReplaceData;
|
|||
class PLOTTER;
|
||||
class NETLIST_OBJECT;
|
||||
class NETLIST_OBJECT_LIST;
|
||||
class PLOTTER;
|
||||
|
||||
using KIGFX::RENDER_SETTINGS;
|
||||
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
#define _SCH_LINE_H_
|
||||
|
||||
#include <sch_item.h>
|
||||
#include <wx/pen.h> // for wxPenStyle
|
||||
#include <list> // for std::list
|
||||
|
||||
class NETLIST_OBJECT_LIST;
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include <general.h>
|
||||
#include <schematic.h>
|
||||
#include <sch_shape.h>
|
||||
#include "plotters/plotter.h"
|
||||
|
||||
|
||||
SCH_SHAPE::SCH_SHAPE( SHAPE_T aShape, int aLineWidth, FILL_T aFillType, KICAD_T aType ) :
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include <refdes_utils.h>
|
||||
#include <wx/log.h>
|
||||
#include <string_utils.h>
|
||||
#include "plotters/plotter.h"
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -44,7 +44,7 @@ namespace SIM_LIBRARY_SPICE_PARSER
|
|||
|
||||
template <> struct librarySelector<modelUnit> : std::true_type {};
|
||||
template <> struct librarySelector<modelName> : std::true_type {};
|
||||
|
||||
|
||||
// For debugging.
|
||||
template <> struct librarySelector<unknownLine> : std::true_type {};
|
||||
};
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include <stroke_params.h>
|
||||
#include <render_settings.h>
|
||||
|
||||
|
||||
class COLOR_SETTINGS;
|
||||
class SHAPE_ARC;
|
||||
class SHAPE_POLY_SET;
|
||||
|
|
Loading…
Reference in New Issue