Remove common.h from more headers
This commit is contained in:
parent
9de0ff22c1
commit
1984581c46
|
@ -40,7 +40,7 @@
|
|||
#include <convert_to_biu.h>
|
||||
#include <trigo.h>
|
||||
#include <kicad_string.h>
|
||||
#include <common.h>
|
||||
#include <common.h> // needed for wxString hash template
|
||||
|
||||
class MODULE;
|
||||
struct EINSTANCE;
|
||||
|
|
|
@ -267,9 +267,9 @@ public:
|
|||
protected:
|
||||
wxSize updateSize()
|
||||
{
|
||||
int listTop = m_listBox->GetRect().y;
|
||||
int listTop = m_listBox->GetRect().y;
|
||||
int itemHeight = KIUI::GetTextSize( wxT( "Xy" ), this ).y + LIST_ITEM_PADDING;
|
||||
int listHeight = m_listBox->GetCount() * itemHeight + LIST_PADDING;
|
||||
int listHeight = m_listBox->GetCount() * itemHeight + LIST_PADDING;
|
||||
|
||||
if( listTop + listHeight >= m_maxPopupHeight )
|
||||
listHeight = m_maxPopupHeight - listTop - 1;
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include <mutex>
|
||||
#include <vector>
|
||||
|
||||
#include <common.h>
|
||||
#include <erc_settings.h>
|
||||
#include <sch_connection.h>
|
||||
#include <sch_item.h>
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#define GBR_LAYOUT_H
|
||||
|
||||
|
||||
//#include <common.h> // PAGE_INFO
|
||||
#include <gerbview.h> // GERBER_DRAWLAYERS_COUNT
|
||||
#include <title_block.h>
|
||||
#include <gerber_draw_item.h>
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#define BASE_SCREEN_H
|
||||
|
||||
#include <eda_item.h>
|
||||
#include <common.h>
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
|
||||
#include <eda_item.h>
|
||||
#include <common.h>
|
||||
#include <eda_units.h>
|
||||
#include <convert_to_biu.h>
|
||||
#include <gr_basic.h>
|
||||
#include <layers_id_colors_and_visibility.h>
|
||||
|
|
|
@ -26,8 +26,6 @@
|
|||
|
||||
#include <preview_items/multistep_geom_manager.h>
|
||||
|
||||
#include <common.h>
|
||||
|
||||
namespace KIGFX {
|
||||
namespace PREVIEW {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#ifndef KICAD_PROJECT_FILE_H
|
||||
#define KICAD_PROJECT_FILE_H
|
||||
|
||||
#include <common.h>
|
||||
#include <common.h> // needed for wxstring hash template
|
||||
#include <project/board_project_settings.h>
|
||||
#include <settings/json_settings.h>
|
||||
#include <settings/nested_settings.h>
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
#include <memory>
|
||||
#include <eda_units.h>
|
||||
|
||||
// Needed for stl hash extensions
|
||||
#include <common.h>
|
||||
|
||||
#include <common.h> // Needed for stl hash extensions
|
||||
|
||||
class PROPERTY_BASE;
|
||||
class TYPE_CAST_BASE;
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#define EDITOR_CONDITIONS_H_
|
||||
|
||||
#include <class_draw_panel_gal.h>
|
||||
#include <common.h>
|
||||
#include <functional>
|
||||
#include <tool/selection.h>
|
||||
#include <tool/selection_conditions.h>
|
||||
|
|
|
@ -26,8 +26,6 @@
|
|||
|
||||
#include <wx/wx.h>
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#include <gal/color4d.h>
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#ifndef __UNIT_BINDER_H_
|
||||
#define __UNIT_BINDER_H_
|
||||
|
||||
#include <common.h>
|
||||
#include <eda_units.h>
|
||||
#include <base_units.h>
|
||||
#include <eda_item.h>
|
||||
#include <origin_transforms.h>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <board_item_container.h>
|
||||
#include <class_pcb_group.h>
|
||||
#include <class_module.h>
|
||||
#include <common.h> // PAGE_INFO
|
||||
#include <common.h> // Needed for stl hash extensions
|
||||
#include <layers_id_colors_and_visibility.h>
|
||||
#include <netinfo.h>
|
||||
#include <pcb_plot_params.h>
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
|
||||
#include <set>
|
||||
|
||||
#include <common.h>
|
||||
|
||||
class D_PAD;
|
||||
class BOARD_CONNECTED_ITEM;
|
||||
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
|
||||
#include <set>
|
||||
|
||||
#include <common.h>
|
||||
|
||||
class DRC_RULE;
|
||||
|
||||
class DRC_LENGTH_REPORT
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#ifndef DRC_RULE_CONDITION_H
|
||||
#define DRC_RULE_CONDITION_H
|
||||
|
||||
#include <common.h>
|
||||
#include <core/typeinfo.h>
|
||||
#include <layers_id_colors_and_visibility.h>
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include <class_draw_panel_gal.h>
|
||||
#include <layers_id_colors_and_visibility.h>
|
||||
#include <pcb_view.h>
|
||||
#include <common.h>
|
||||
|
||||
namespace KIGFX
|
||||
{
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#define PCB_SHAPE_H
|
||||
|
||||
#include <class_board_item.h>
|
||||
#include <common.h>
|
||||
#include <eda_units.h>
|
||||
#include <convert_to_biu.h>
|
||||
#include <math/util.h> // for KiROUND
|
||||
#include <math_for_graphics.h>
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include <common.h>
|
||||
#include <widgets/progress_reporter.h>
|
||||
#include <reporter.h>
|
||||
#include <core/optional.h>
|
||||
|
|
Loading…
Reference in New Issue