Remove eda_item and gr_basic from eda_text.h

This commit is contained in:
Marek Roszko 2020-10-13 22:46:39 -04:00
parent ad191fda52
commit 9656bd310b
18 changed files with 23 additions and 3 deletions

View File

@ -26,6 +26,7 @@
#include <dialog_page_settings.h>
#include <eda_draw_frame.h>
#include <eda_item.h>
#include <gr_basic.h>
#include <kiface_i.h>
#include <math/util.h> // for KiROUND, Clamp
#include <project.h>

View File

@ -115,7 +115,6 @@
*
*/
#include <page_layout/ws_painter.h>
// height of the band reference grid 2.0 mm
// worksheet frame reference text size 1.3 mm

View File

@ -46,6 +46,7 @@
#include <kiface_i.h>
#include <title_block.h>
#include <eda_item.h>
#include <page_layout/ws_data_item.h>
#include <page_layout/ws_data_model.h>
#include <page_layout/ws_draw_item.h>

View File

@ -56,6 +56,7 @@
#include <base_units.h>
#include <page_info.h>
#include <layers_id_colors_and_visibility.h>
#include <gr_basic.h>
// ============================ BASE CLASS ==============================

View File

@ -27,15 +27,16 @@
#include <trigo.h> // NORMALIZE_ANGLE_POS( angle );
#include <common.h> // wxStringSplit
#include <gr_basic.h> // EDA_DRAW_MODE_T
#include <eda_item.h> // EDA_RECT
#include <eda_rect.h>
#include "kicad_string.h"
#include "painter.h"
class SHAPE_COMPOUND;
class SHAPE_POLY_SET;
class wxFindReplaceData;
using KIGFX::RENDER_SETTINGS;
using KIGFX::COLOR4D;
// part of the kicad_plugin.h family of defines.
// See kicad_plugin.h for the choice of the value

View File

@ -31,6 +31,8 @@
#include <layers_id_colors_and_visibility.h>
#include <gal/color4d.h>
class EDA_ITEM;
/**
* ORIGIN_VIEWITEM
*

View File

@ -25,6 +25,7 @@
#ifndef WS_DRAW_ITEM_H
#define WS_DRAW_ITEM_H
#include <core/typeinfo.h>
#include <math/vector2d.h>
#include <eda_text.h>
#include <bitmap_base.h>
@ -37,6 +38,8 @@
class WS_DATA_ITEM;
class TITLE_BLOCK;
class PAGE_INFO;
class EDA_ITEM;
class EDA_DRAW_FRAME;
/*
* Helper classes to handle basic graphic items used to draw/plot

View File

@ -25,6 +25,7 @@
#include <wx/imaglist.h>
#include <wx/wupdlock.h>
#include <eda_item.h>
#include <page_layout/ws_draw_item.h>
#include <page_layout/ws_data_item.h>
#include <page_layout/ws_data_model.h>

View File

@ -22,6 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <eda_item.h>
#include <page_layout/ws_data_item.h>
#include "dialog_new_dataitem_base.h"

View File

@ -28,6 +28,8 @@
#include <base_units.h>
#include <dialog_helpers.h>
#include <eda_item.h>
#include <gr_basic.h>
#include <page_layout/ws_draw_item.h>
#include <page_layout/ws_data_item.h>
#include <page_layout/ws_data_model.h>

View File

@ -27,6 +27,7 @@
#include <pgm_base.h>
#include <msgpanel.h>
#include <bitmaps.h>
#include <eda_item.h>
#include <page_layout/ws_data_item.h>
#include <page_layout/ws_data_model.h>
#include <widgets/paged_dialog.h>

View File

@ -29,6 +29,7 @@
#include <algorithm>
#include <climits>
#include <eda_item.h>
#include <eda_rect.h>
#include "pl_editor_layout.h"

View File

@ -24,6 +24,7 @@
#include <tool/tool_action.h>
#include <bitmaps.h>
#include <eda_item.h>
#include <page_layout/ws_data_item.h>
#include "tools/pl_actions.h"

View File

@ -24,6 +24,7 @@
#include "graphics_import_mgr.h"
#include <eda_item.h>
#include "dxf_import_plugin.h"
#include "svg_import_plugin.h"

View File

@ -22,6 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <eda_item.h>
#include "graphics_importer.h"
#include "graphics_import_plugin.h"

View File

@ -22,6 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <eda_item.h>
#include "graphics_importer_buffer.h"
using namespace std;

View File

@ -32,6 +32,7 @@
#include <math/vector2d.h>
#include "convert_to_biu.h"
#include <eda_item.h>
#include "graphics_importer.h"
static VECTOR2D calculateBezierBoundingBoxExtremity( const float* aCurvePoints,

View File

@ -23,6 +23,7 @@
#include <functional>
using namespace std::placeholders;
#include <eda_item.h>
#include <id.h>
#include <view/view.h>
#include <view/view_controls.h>