Removed a few more headers from base_struct.h
This commit is contained in:
parent
0dc88bb4cf
commit
d7bf44eee0
|
@ -109,6 +109,19 @@ void EDA_ITEM::SetModified()
|
|||
}
|
||||
|
||||
|
||||
const EDA_RECT EDA_ITEM::GetBoundingBox() const
|
||||
{
|
||||
#if defined(DEBUG)
|
||||
printf( "Missing GetBoundingBox()\n" );
|
||||
Show( 0, std::cout ); // tell me which classes still need GetBoundingBox support
|
||||
#endif
|
||||
|
||||
// return a zero-sized box per default. derived classes should override
|
||||
// this
|
||||
return EDA_RECT( wxPoint( 0, 0 ), wxSize( 0, 0 ) );
|
||||
}
|
||||
|
||||
|
||||
EDA_ITEM* EDA_ITEM::Clone() const
|
||||
{
|
||||
wxCHECK_MSG( false, NULL, wxT( "Clone not implemented in derived class " ) + GetClass() +
|
||||
|
|
|
@ -93,6 +93,7 @@
|
|||
#include <fctsys.h>
|
||||
#include <trigo.h>
|
||||
#include <wxstruct.h>
|
||||
#include <class_eda_rect.h>
|
||||
#include <base_struct.h>
|
||||
#include <common.h>
|
||||
#include <plot_common.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include <kiway_player.h>
|
||||
#include <wx/evtloop.h>
|
||||
#include <pgm_base.h>
|
||||
#include <class_eda_rect.h>
|
||||
|
||||
|
||||
/// Toggle a window's "enable" status to disabled, then enabled on destruction.
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
#include <eda_text.h>
|
||||
#include <drawtxt.h>
|
||||
#include <class_eda_rect.h>
|
||||
#include <macros.h>
|
||||
#include <trigo.h> // RotatePoint
|
||||
#include <class_drawpanel.h> // EDA_DRAW_PANEL
|
||||
|
|
|
@ -56,6 +56,7 @@
|
|||
|
||||
#include <fctsys.h>
|
||||
#include <drawtxt.h>
|
||||
#include <class_eda_rect.h>
|
||||
#include <worksheet.h>
|
||||
#include <class_title_block.h>
|
||||
#include <worksheet_shape_builder.h>
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <class_eda_rect.h>
|
||||
#include <drawtxt.h>
|
||||
#include <worksheet.h>
|
||||
#include <class_title_block.h>
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <tool/tool_manager.h>
|
||||
#include <tool/tool_interactive.h>
|
||||
#include <tool/context_menu.h>
|
||||
#include <wx/log.h>
|
||||
|
||||
#include <functional>
|
||||
using namespace std::placeholders;
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
class EDA_RECT;
|
||||
class LINE_READER;
|
||||
class OUTPUTFORMATTER;
|
||||
class PART_LIB;
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#define _LIB_ITEM_H_
|
||||
|
||||
#include <base_struct.h>
|
||||
#include <class_eda_rect.h>
|
||||
#include <transform.h>
|
||||
#include <gr_basic.h>
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
class SCH_COMPONENT;
|
||||
|
||||
#include <class_eda_rect.h>
|
||||
#include <lib_draw_item.h>
|
||||
|
||||
#include "pin_shape.h"
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include <class_gbr_display_options.h>
|
||||
|
||||
#include <gr_basic.h>
|
||||
#include <class_eda_rect.h>
|
||||
|
||||
class GERBER_FILE_IMAGE_LIST;
|
||||
|
||||
|
|
|
@ -34,13 +34,8 @@
|
|||
|
||||
#include <core/typeinfo.h>
|
||||
|
||||
#include <colors.h>
|
||||
#include <bitmap_types.h>
|
||||
#include <richio.h>
|
||||
#include <view/view_item.h>
|
||||
#include <class_eda_rect.h>
|
||||
#include <functional>
|
||||
|
||||
|
||||
#if defined(DEBUG)
|
||||
#include <iostream> // needed for Show()
|
||||
|
@ -305,17 +300,7 @@ public:
|
|||
* system.
|
||||
* It is OK to overestimate the size by a few counts.
|
||||
*/
|
||||
virtual const EDA_RECT GetBoundingBox() const
|
||||
{
|
||||
#if defined(DEBUG)
|
||||
printf( "Missing GetBoundingBox()\n" );
|
||||
Show( 0, std::cout ); // tell me which classes still need GetBoundingBox support
|
||||
#endif
|
||||
|
||||
// return a zero-sized box per default. derived classes should override
|
||||
// this
|
||||
return EDA_RECT( wxPoint( 0, 0 ), wxSize( 0, 0 ) );
|
||||
}
|
||||
virtual const EDA_RECT GetBoundingBox() const;
|
||||
|
||||
/**
|
||||
* Function Clone
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#define BASIC_GAL_H
|
||||
|
||||
#include <plot_common.h>
|
||||
#include <class_eda_rect.h>
|
||||
|
||||
#include <gal/stroke_font.h>
|
||||
#include <gal/graphics_abstraction_layer.h>
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <base_struct.h>
|
||||
#include <class_undoredo_container.h>
|
||||
#include <gr_basic.h>
|
||||
#include <class_eda_rect.h>
|
||||
|
||||
/* Block state codes. */
|
||||
typedef enum {
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <fctsys.h>
|
||||
#include <base_struct.h> // SEARCH_RESULT
|
||||
#include <common.h> // GetNewTimeStamp()
|
||||
#include <class_eda_rect.h>
|
||||
|
||||
|
||||
class EDA_ITEM;
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
|
||||
#include <base_struct.h>
|
||||
#include <gr_basic.h>
|
||||
#include <class_eda_rect.h>
|
||||
|
||||
|
||||
class BASE_SCREEN;
|
||||
|
|
|
@ -25,11 +25,9 @@
|
|||
#define CLASS_TITLE_BLOCK_H_
|
||||
|
||||
#include <wx/string.h>
|
||||
|
||||
#include <ki_exception.h>
|
||||
|
||||
class OUTPUTFORMATTER;
|
||||
class IO_ERROR;
|
||||
|
||||
|
||||
/**
|
||||
* Class TITLE_BLOCK
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
|
||||
class EDA_ITEM;
|
||||
class TOOL_MANAGER;
|
||||
class wxWindow;
|
||||
|
||||
namespace KIGFX
|
||||
{
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
|
||||
#include <fctsys.h>
|
||||
#include <common.h>
|
||||
#include <class_eda_rect.h>
|
||||
#include <class_pl_editor_layout.h>
|
||||
|
||||
PL_EDITOR_LAYOUT::PL_EDITOR_LAYOUT()
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
|
||||
|
||||
#include <base_struct.h>
|
||||
#include <class_eda_rect.h>
|
||||
#include <layers_id_colors_and_visibility.h>
|
||||
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include <cell.h>
|
||||
#include <autorout.h>
|
||||
|
||||
#include <class_eda_rect.h>
|
||||
#include <class_board.h>
|
||||
#include <class_module.h>
|
||||
#include <class_track.h>
|
||||
|
|
Loading…
Reference in New Issue