Move bitmaps.h out of base_struct.h
bitmaps.h was included in nearly every file in the project due to it being included by base_struct.h Only about 130 files actually use the XPM definitions defined there, and many of those already included bitmaps.h themselves, or via menu_helpers.h. However, touching bitmaps.h would result in over 400 rebuilt files for pcbnew alone. This commit moves the bitmap-related types like BITMAT_DEF out to a new header, which is still included by base_struct.h, which is less avoidable for now, it's it's used in the interface. The icon list is still in bitmaps.h. This has the side effect that's it's now easier to automatically generate this file. Many classes in pcbnew and eeschema needed some functions moved to the implementaitons from the headers too.
This commit is contained in:
parent
45cf772833
commit
a8eea6155a
|
@ -32,6 +32,7 @@
|
|||
#include <common_ogl/cogl_att_list.h>
|
||||
#include <cstdlib>
|
||||
#include <limits.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <wx/valnum.h>
|
||||
#include <wx/tglbtn.h>
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include "status_text_reporter.h"
|
||||
#include <gl_context_mgr.h>
|
||||
#include <profile.h> // To use GetRunningMicroSecs or an other profiling utility
|
||||
#include <bitmaps.h>
|
||||
|
||||
/**
|
||||
* Trace mask used to enable or disable the trace output of this class.
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "dialog_3D_view_option_base.h"
|
||||
#include <3d_viewer/eda_3d_viewer.h>
|
||||
#include <3d_canvas/cinfo3d_visu.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
class DIALOG_3D_VIEW_OPTIONS : public DIALOG_3D_VIEW_OPTIONS_BASE
|
||||
{
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include "../common_ogl/cogl_att_list.h"
|
||||
#include <hotkeys_basic.h>
|
||||
#include <wx/toolbar.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
/**
|
||||
* Trace mask used to enable or disable the trace output of this class.
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include <wildcards_and_files_ext.h>
|
||||
#include <fp_lib_table.h>
|
||||
#include <netlist_reader.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <cvpcb_mainframe.h>
|
||||
#include <cvpcb.h>
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <schframe.h>
|
||||
#include <menus_helpers.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <eeschema_id.h>
|
||||
#include <general.h>
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <fctsys.h>
|
||||
#include <schframe.h>
|
||||
#include <class_drawpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <invoke_sch_dialog.h>
|
||||
#include <dialog_annotate_base.h>
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include <invoke_sch_dialog.h>
|
||||
#include <project.h>
|
||||
#include <kiface_i.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <netlist.h>
|
||||
#include <class_netlist_object.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include <macros.h>
|
||||
#include <gr_basic.h>
|
||||
#include <base_units.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <libeditframe.h>
|
||||
#include <class_libentry.h>
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include <confirm.h>
|
||||
#include <id.h>
|
||||
#include <schframe.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <sch_sheet.h>
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include <richio.h>
|
||||
#include <base_units.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <lib_arc.h>
|
||||
|
@ -580,6 +581,12 @@ wxString LIB_ARC::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF LIB_ARC::GetMenuImage() const
|
||||
{
|
||||
return add_arc_xpm;
|
||||
}
|
||||
|
||||
|
||||
void LIB_ARC::BeginEdit( STATUS_FLAGS aEditMode, const wxPoint aPosition )
|
||||
{
|
||||
wxCHECK_RET( ( aEditMode & ( IS_NEW | IS_MOVED | IS_RESIZED ) ) != 0,
|
||||
|
|
|
@ -155,7 +155,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_arc_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include <richio.h>
|
||||
#include <base_units.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <lib_circle.h>
|
||||
|
@ -297,6 +298,12 @@ wxString LIB_CIRCLE::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF LIB_CIRCLE::GetMenuImage() const
|
||||
{
|
||||
return add_circle_xpm;
|
||||
}
|
||||
|
||||
|
||||
void LIB_CIRCLE::BeginEdit( STATUS_FLAGS aEditMode, const wxPoint aPosition )
|
||||
{
|
||||
wxCHECK_RET( ( aEditMode & ( IS_NEW | IS_MOVED | IS_RESIZED ) ) != 0,
|
||||
|
|
|
@ -104,7 +104,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_circle_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include <trigo.h>
|
||||
#include <base_units.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <class_libentry.h>
|
||||
|
@ -800,3 +801,9 @@ void LIB_FIELD::GetMsgPanelInfo( MSG_PANEL_ITEMS& aList )
|
|||
// Display field text:
|
||||
aList.push_back( MSG_PANEL_ITEM( _( "Value" ), GetShownText(), BROWN ) );
|
||||
}
|
||||
|
||||
|
||||
BITMAP_DEF LIB_FIELD::GetMenuImage() const
|
||||
{
|
||||
return move_field_xpm;
|
||||
}
|
||||
|
|
|
@ -237,7 +237,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return move_field_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include <richio.h>
|
||||
#include <base_units.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <lib_polyline.h>
|
||||
|
@ -420,6 +421,12 @@ wxString LIB_POLYLINE::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF LIB_POLYLINE::GetMenuImage() const
|
||||
{
|
||||
return add_polygon_xpm;
|
||||
}
|
||||
|
||||
|
||||
void LIB_POLYLINE::BeginEdit( STATUS_FLAGS aEditMode, const wxPoint aPosition )
|
||||
{
|
||||
wxCHECK_RET( ( aEditMode & ( IS_NEW | IS_MOVED | IS_RESIZED ) ) != 0,
|
||||
|
|
|
@ -113,7 +113,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_polygon_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include <richio.h>
|
||||
#include <base_units.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <lib_rectangle.h>
|
||||
|
@ -337,6 +338,12 @@ wxString LIB_RECTANGLE::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF LIB_RECTANGLE::GetMenuImage() const
|
||||
{
|
||||
return add_rectangle_xpm;
|
||||
}
|
||||
|
||||
|
||||
void LIB_RECTANGLE::BeginEdit( STATUS_FLAGS aEditMode, const wxPoint aPosition )
|
||||
{
|
||||
wxCHECK_RET( ( aEditMode & ( IS_NEW | IS_MOVED | IS_RESIZED ) ) != 0,
|
||||
|
|
|
@ -108,7 +108,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_rectangle_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include <richio.h>
|
||||
#include <base_units.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <lib_draw_item.h>
|
||||
#include <general.h>
|
||||
|
@ -509,6 +510,12 @@ wxString LIB_TEXT::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF LIB_TEXT::GetMenuImage() const
|
||||
{
|
||||
return add_text_xpm;
|
||||
}
|
||||
|
||||
|
||||
void LIB_TEXT::BeginEdit( STATUS_FLAGS aEditMode, const wxPoint aPosition )
|
||||
{
|
||||
wxCHECK_RET( ( aEditMode & ( IS_NEW | IS_MOVED ) ) != 0,
|
||||
|
|
|
@ -129,7 +129,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_text_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
#include <class_drawpanel.h>
|
||||
#include <trigo.h>
|
||||
#include <macros.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <sch_bitmap.h>
|
||||
|
||||
#include <wx/mstream.h>
|
||||
|
@ -309,3 +311,9 @@ void SCH_BITMAP::Plot( PLOTTER* aPlotter )
|
|||
{
|
||||
m_image->PlotImage( aPlotter, m_pos, GetLayerColor( GetLayer() ), GetPenSize() );
|
||||
}
|
||||
|
||||
|
||||
BITMAP_DEF SCH_BITMAP::GetMenuImage() const
|
||||
{
|
||||
return image_xpm;
|
||||
}
|
||||
|
|
|
@ -130,7 +130,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override { return wxString( _( "Image" ) ); }
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return image_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
wxPoint GetPosition() const override { return m_pos; }
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <common.h>
|
||||
#include <richio.h>
|
||||
#include <plot_common.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <eeschema_config.h>
|
||||
#include <general.h>
|
||||
|
@ -340,6 +341,11 @@ wxString SCH_BUS_BUS_ENTRY::GetSelectMenuText() const
|
|||
return wxString( _( "Bus to Bus Entry" ) );
|
||||
}
|
||||
|
||||
BITMAP_DEF SCH_BUS_ENTRY_BASE::GetMenuImage() const
|
||||
{
|
||||
return add_entry_xpm;
|
||||
}
|
||||
|
||||
|
||||
bool SCH_BUS_ENTRY_BASE::HitTest( const wxPoint& aPosition, int aAccuracy ) const
|
||||
{
|
||||
|
|
|
@ -113,7 +113,7 @@ public:
|
|||
|
||||
void GetConnectionPoints( std::vector< wxPoint >& aPoints ) const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_entry_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
wxPoint GetPosition() const override { return m_pos; }
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include <schframe.h>
|
||||
#include <plot_common.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <class_library.h>
|
||||
|
@ -1576,6 +1577,12 @@ void SCH_COMPONENT::GetMsgPanelInfo( MSG_PANEL_ITEMS& aList )
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF SCH_COMPONENT::GetMenuImage() const
|
||||
{
|
||||
return add_component_xpm;
|
||||
}
|
||||
|
||||
|
||||
void SCH_COMPONENT::MirrorY( int aYaxis_position )
|
||||
{
|
||||
int dx = m_Pos.x;
|
||||
|
|
|
@ -530,7 +530,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_component_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
void GetNetListItem( NETLIST_OBJECT_LIST& aNetListItems,
|
||||
SCH_SHEET_PATH* aSheetPath ) override;
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include <macros.h>
|
||||
#include <schframe.h>
|
||||
#include <plot_common.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <class_library.h>
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <common.h>
|
||||
#include <richio.h>
|
||||
#include <plot_common.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <sch_junction.h>
|
||||
#include <class_netlist_object.h>
|
||||
|
@ -233,3 +234,8 @@ void SCH_JUNCTION::Plot( PLOTTER* aPlotter )
|
|||
aPlotter->SetColor( GetLayerColor( GetLayer() ) );
|
||||
aPlotter->Circle( m_pos, GetSymbolSize(), FILLED_SHAPE );
|
||||
}
|
||||
|
||||
BITMAP_DEF SCH_JUNCTION::GetMenuImage() const
|
||||
{
|
||||
return add_junction_xpm;
|
||||
}
|
||||
|
|
|
@ -85,7 +85,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override { return wxString( _( "Junction" ) ); }
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_junction_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
void GetNetListItem( NETLIST_OBJECT_LIST& aNetListItems, SCH_SHEET_PATH* aSheetPath ) override;
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include <class_drawpanel.h>
|
||||
#include <trigo.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <sch_marker.h>
|
||||
|
@ -144,6 +145,12 @@ void SCH_MARKER::GetMsgPanelInfo( MSG_PANEL_ITEMS& aList )
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF SCH_MARKER::GetMenuImage() const
|
||||
{
|
||||
return erc_xpm;
|
||||
}
|
||||
|
||||
|
||||
void SCH_MARKER::Rotate( wxPoint aPosition )
|
||||
{
|
||||
RotatePoint( &m_Pos, aPosition, 900 );
|
||||
|
|
|
@ -99,7 +99,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override { return wxString( _( "ERC Marker" ) ); }
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return erc_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
wxPoint GetPosition() const override { return m_Pos; }
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <class_drawpanel.h>
|
||||
#include <common.h>
|
||||
#include <plot_common.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <sch_no_connect.h>
|
||||
|
@ -250,3 +251,9 @@ void SCH_NO_CONNECT::Plot( PLOTTER* aPlotter )
|
|||
aPlotter->FinishTo( wxPoint( pX - delta, pY + delta ) );
|
||||
}
|
||||
|
||||
|
||||
BITMAP_DEF SCH_NO_CONNECT::GetMenuImage() const
|
||||
{
|
||||
return noconn_xpm;
|
||||
}
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override { return wxString( _( "No Connect" ) ); }
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return noconn_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
void GetNetListItem( NETLIST_OBJECT_LIST& aNetListItems, SCH_SHEET_PATH* aSheetPath ) override;
|
||||
|
||||
|
|
|
@ -1077,6 +1077,12 @@ wxString SCH_SHEET::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF SCH_SHEET::GetMenuImage() const
|
||||
{
|
||||
return add_hierarchical_subsheet_xpm;
|
||||
}
|
||||
|
||||
|
||||
bool SCH_SHEET::HitTest( const wxPoint& aPosition, int aAccuracy ) const
|
||||
{
|
||||
EDA_RECT rect = GetBoundingBox();
|
||||
|
|
|
@ -196,7 +196,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_hierar_pin_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
void SetPosition( const wxPoint& aPosition ) override { ConstrainOnEdge( aPosition ); }
|
||||
|
||||
|
@ -572,7 +572,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_hierarchical_subsheet_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
void GetNetListItem( NETLIST_OBJECT_LIST& aNetListItems,
|
||||
SCH_SHEET_PATH* aSheetPath ) override;
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <trigo.h>
|
||||
#include <richio.h>
|
||||
#include <schframe.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <sch_sheet.h>
|
||||
|
@ -505,6 +506,11 @@ wxString SCH_SHEET_PIN::GetSelectMenuText() const
|
|||
return tmp;
|
||||
}
|
||||
|
||||
BITMAP_DEF SCH_SHEET_PIN::GetMenuImage() const
|
||||
{
|
||||
return add_hierar_pin_xpm;
|
||||
}
|
||||
|
||||
|
||||
bool SCH_SHEET_PIN::HitTest( const wxPoint& aPoint, int aAccuracy ) const
|
||||
{
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include <plot_common.h>
|
||||
#include <msgpanel.h>
|
||||
#include <gal/stroke_font.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <protos.h>
|
||||
#include <sch_text.h>
|
||||
|
@ -618,6 +619,12 @@ wxString SCH_TEXT::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF SCH_TEXT::GetMenuImage() const
|
||||
{
|
||||
return add_text_xpm;
|
||||
}
|
||||
|
||||
|
||||
void SCH_TEXT::GetNetListItem( NETLIST_OBJECT_LIST& aNetListItems,
|
||||
SCH_SHEET_PATH* aSheetPath )
|
||||
{
|
||||
|
@ -1010,6 +1017,12 @@ wxString SCH_LABEL::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF SCH_LABEL::GetMenuImage() const
|
||||
{
|
||||
return add_line_label_xpm;
|
||||
}
|
||||
|
||||
|
||||
SCH_GLOBALLABEL::SCH_GLOBALLABEL( const wxPoint& pos, const wxString& text ) :
|
||||
SCH_TEXT( pos, text, SCH_GLOBAL_LABEL_T )
|
||||
{
|
||||
|
@ -1467,6 +1480,12 @@ wxString SCH_GLOBALLABEL::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF SCH_GLOBALLABEL::GetMenuImage() const
|
||||
{
|
||||
return add_glabel_xpm;
|
||||
}
|
||||
|
||||
|
||||
|
||||
SCH_HIERLABEL::SCH_HIERLABEL( const wxPoint& pos, const wxString& text, KICAD_T aType ) :
|
||||
SCH_TEXT( pos, text, aType )
|
||||
|
@ -1817,3 +1836,9 @@ wxString SCH_HIERLABEL::GetSelectMenuText() const
|
|||
msg.Printf( _( "Hierarchical Label %s" ), GetChars( ShortenedShownText() ) );
|
||||
return msg;
|
||||
}
|
||||
|
||||
|
||||
BITMAP_DEF SCH_HIERLABEL::GetMenuImage() const
|
||||
{
|
||||
return add_hierarchical_label_xpm;
|
||||
}
|
||||
|
|
|
@ -192,7 +192,7 @@ public:
|
|||
|
||||
virtual wxString GetSelectMenuText() const override;
|
||||
|
||||
virtual BITMAP_DEF GetMenuImage() const override { return add_text_xpm; }
|
||||
virtual BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
virtual void GetNetListItem( NETLIST_OBJECT_LIST& aNetListItems,
|
||||
SCH_SHEET_PATH* aSheetPath ) override;
|
||||
|
@ -253,7 +253,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_line_label_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
bool IsReplaceable() const override { return true; }
|
||||
|
||||
|
@ -303,7 +303,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_glabel_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
@ -353,7 +353,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_hierarchical_label_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <general.h>
|
||||
#include <libeditframe.h>
|
||||
#include <dialog_helpers.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <help_common_strings.h>
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <class_drawpanel.h>
|
||||
#include <schframe.h>
|
||||
#include <kiface_i.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <hotkeys.h>
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <class_drawpanel.h>
|
||||
#include <schframe.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <viewlib_frame.h>
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include <colors_selection.h>
|
||||
#include <class_gbr_layer_box_selector.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <gerbview.h>
|
||||
#include <gerbview_frame.h>
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include <class_gbr_layer_box_selector.h>
|
||||
#include <class_DCodeSelectionbox.h>
|
||||
#include <dialog_helpers.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <wx/wupdlock.h>
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <core/typeinfo.h>
|
||||
|
||||
#include <colors.h>
|
||||
#include <bitmaps.h>
|
||||
#include <bitmap_types.h>
|
||||
#include <richio.h>
|
||||
#include <view/view_item.h>
|
||||
#include <class_eda_rect.h>
|
||||
|
|
|
@ -0,0 +1,72 @@
|
|||
/*
|
||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||
*
|
||||
* Copyright (C) 2007-2017 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||
* Copyright (C) 1992-2017 KiCad Developers, see CHANGELOG.TXT for contributors.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, you may find one here:
|
||||
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||||
* or you may search the http://www.gnu.org website for the version 2 license,
|
||||
* or you may write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
|
||||
#ifndef BITMAP_TYPES_H_
|
||||
#define BITMAP_TYPES_H_
|
||||
|
||||
//FIXME: cannot include only this file in wxWidgets 2.9.3
|
||||
// test if it works under stable release
|
||||
// #include <wx/bitmap.h> // only to define wxBitmap
|
||||
class wxBitmap; // only to define wxBitmap
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
/// PNG memory record (file in memory).
|
||||
struct BITMAP_OPAQUE
|
||||
{
|
||||
const unsigned char* png;
|
||||
int byteCount;
|
||||
const char* name; // for debug, or future lazy dynamic linking
|
||||
};
|
||||
|
||||
// declared as single element _array_, so its name assigns to pointer
|
||||
#define EXTERN_BITMAP(x) extern const BITMAP_OPAQUE x[1];
|
||||
|
||||
|
||||
/// a BITMAP_DEF is really a const pointer to an opaque
|
||||
/// structure. So you should never need to use 'const' with it.
|
||||
typedef const BITMAP_OPAQUE *BITMAP_DEF;
|
||||
|
||||
|
||||
/**
|
||||
* Function KiBitmap
|
||||
* constructs a wxBitmap from a memory record, held in a
|
||||
* BITMAP_DEF.
|
||||
*/
|
||||
wxBitmap KiBitmap( BITMAP_DEF aBitmap );
|
||||
|
||||
|
||||
/**
|
||||
* Function KiBitmapNew
|
||||
* allocates a wxBitmap on heap from a memory record, held in a
|
||||
* BITMAP_DEF.
|
||||
*
|
||||
* @return wxBitmap* - caller owns it.
|
||||
*/
|
||||
wxBitmap* KiBitmapNew( BITMAP_DEF aBitmap );
|
||||
|
||||
|
||||
#endif // BITMAP_TYPES_H_
|
|
@ -26,47 +26,7 @@
|
|||
#ifndef BITMAPS_H_
|
||||
#define BITMAPS_H_
|
||||
|
||||
//FIXME: cannot include only this file in wxWidgets 2.9.3
|
||||
// test if it works under stable release
|
||||
// #include <wx/bitmap.h> // only to define wxBitmap
|
||||
class wxBitmap; // only to define wxBitmap
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
/// PNG memory record (file in memory).
|
||||
struct BITMAP_OPAQUE
|
||||
{
|
||||
const unsigned char* png;
|
||||
int byteCount;
|
||||
const char* name; // for debug, or future lazy dynamic linking
|
||||
};
|
||||
|
||||
// declared as single element _array_, so its name assigns to pointer
|
||||
#define EXTERN_BITMAP(x) extern const BITMAP_OPAQUE x[1];
|
||||
|
||||
|
||||
/// a BITMAP_DEF is really a const pointer to an opaque
|
||||
/// structure. So you should never need to use 'const' with it.
|
||||
typedef const BITMAP_OPAQUE *BITMAP_DEF;
|
||||
|
||||
|
||||
/**
|
||||
* Function KiBitmap
|
||||
* constructs a wxBitmap from a memory record, held in a
|
||||
* BITMAP_DEF.
|
||||
*/
|
||||
wxBitmap KiBitmap( BITMAP_DEF aBitmap );
|
||||
|
||||
|
||||
/**
|
||||
* Function KiBitmapNew
|
||||
* allocates a wxBitmap on heap from a memory record, held in a
|
||||
* BITMAP_DEF.
|
||||
*
|
||||
* @return wxBitmap* - caller owns it.
|
||||
*/
|
||||
wxBitmap* KiBitmapNew( BITMAP_DEF aBitmap );
|
||||
#include <bitmap_types.h>
|
||||
|
||||
|
||||
// may eventually generate this file automatically.
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <kiway.h>
|
||||
#include <kiway_player.h>
|
||||
#include <wildcards_and_files_ext.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include "pgm_kicad.h"
|
||||
#include "tree_project_frame.h"
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <macros.h>
|
||||
#include <base_units.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <pl_editor_frame.h>
|
||||
#include <pl_editor_id.h>
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include <colors_selection.h>
|
||||
#include <kicad_string.h>
|
||||
#include <richio.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board.h>
|
||||
#include <class_pcb_text.h>
|
||||
|
@ -484,6 +485,12 @@ wxString DIMENSION::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF DIMENSION::GetMenuImage() const
|
||||
{
|
||||
return add_dimension_xpm;
|
||||
}
|
||||
|
||||
|
||||
const BOX2I DIMENSION::ViewBBox() const
|
||||
{
|
||||
BOX2I dimBBox = BOX2I( VECTOR2I( GetBoundingBox().GetPosition() ),
|
||||
|
|
|
@ -224,7 +224,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_dimension_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include <colors_selection.h>
|
||||
#include <trigo.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <pcbnew.h>
|
||||
|
||||
|
@ -584,6 +585,12 @@ wxString DRAWSEGMENT::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF DRAWSEGMENT::GetMenuImage() const
|
||||
{
|
||||
return add_dashed_line_xpm;
|
||||
}
|
||||
|
||||
|
||||
EDA_ITEM* DRAWSEGMENT::Clone() const
|
||||
{
|
||||
return new DRAWSEGMENT( *this );
|
||||
|
|
|
@ -237,7 +237,7 @@ public:
|
|||
|
||||
virtual wxString GetSelectMenuText() const override;
|
||||
|
||||
virtual BITMAP_DEF GetMenuImage() const override { return add_dashed_line_xpm; }
|
||||
virtual BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
virtual EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
#include <wxBasePcbFrame.h>
|
||||
#include <msgpanel.h>
|
||||
#include <base_units.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board.h>
|
||||
#include <class_module.h>
|
||||
|
@ -258,6 +259,12 @@ wxString EDGE_MODULE::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF EDGE_MODULE::GetMenuImage() const
|
||||
{
|
||||
return show_mod_edge_xpm;
|
||||
}
|
||||
|
||||
|
||||
EDA_ITEM* EDGE_MODULE::Clone() const
|
||||
{
|
||||
return new EDGE_MODULE( *this );
|
||||
|
|
|
@ -122,7 +122,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return show_mod_edge_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <wxstruct.h>
|
||||
#include <trigo.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <pcbnew.h>
|
||||
#include <class_marker_pcb.h>
|
||||
|
@ -137,6 +138,12 @@ wxString MARKER_PCB::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF MARKER_PCB::GetMenuImage() const
|
||||
{
|
||||
return drc_xpm;
|
||||
}
|
||||
|
||||
|
||||
void MARKER_PCB::ViewGetLayers( int aLayers[], int& aCount ) const
|
||||
{
|
||||
aCount = 1;
|
||||
|
|
|
@ -109,7 +109,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return drc_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
const BOX2I ViewBBox() const override
|
||||
{
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include <trigo.h>
|
||||
#include <macros.h>
|
||||
#include <richio.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board.h>
|
||||
#include <class_mire.h>
|
||||
|
@ -195,6 +196,11 @@ wxString PCB_TARGET::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF PCB_TARGET::GetMenuImage() const
|
||||
{
|
||||
return add_mires_xpm;
|
||||
}
|
||||
|
||||
EDA_ITEM* PCB_TARGET::Clone() const
|
||||
{
|
||||
return new PCB_TARGET( *this );
|
||||
|
|
|
@ -100,7 +100,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_mires_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include <filter_reader.h>
|
||||
#include <macros.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board.h>
|
||||
#include <class_edge_mod.h>
|
||||
|
@ -801,6 +802,12 @@ wxString MODULE::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF MODULE::GetMenuImage() const
|
||||
{
|
||||
return module_xpm;
|
||||
}
|
||||
|
||||
|
||||
EDA_ITEM* MODULE::Clone() const
|
||||
{
|
||||
return new MODULE( *this );
|
||||
|
|
|
@ -549,7 +549,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return module_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <macros.h>
|
||||
#include <msgpanel.h>
|
||||
#include <base_units.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <pcbnew.h>
|
||||
|
||||
|
@ -912,6 +913,12 @@ wxString D_PAD::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF D_PAD::GetMenuImage() const
|
||||
{
|
||||
return pad_xpm;
|
||||
}
|
||||
|
||||
|
||||
EDA_ITEM* D_PAD::Clone() const
|
||||
{
|
||||
return new D_PAD( *this );
|
||||
|
|
|
@ -514,7 +514,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return pad_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
/**
|
||||
* Function ShowPadShape
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include <wxBasePcbFrame.h>
|
||||
#include <msgpanel.h>
|
||||
#include <base_units.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board.h>
|
||||
#include <class_pcb_text.h>
|
||||
|
@ -186,6 +187,12 @@ wxString TEXTE_PCB::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF TEXTE_PCB::GetMenuImage() const
|
||||
{
|
||||
return add_text_xpm;
|
||||
}
|
||||
|
||||
|
||||
EDA_ITEM* TEXTE_PCB::Clone() const
|
||||
{
|
||||
return new TEXTE_PCB( *this );
|
||||
|
|
|
@ -133,7 +133,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_text_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
// Virtual function
|
||||
const EDA_RECT GetBoundingBox() const override;
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include <wxBasePcbFrame.h>
|
||||
#include <msgpanel.h>
|
||||
#include <base_units.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board.h>
|
||||
#include <class_module.h>
|
||||
|
@ -405,6 +406,12 @@ wxString TEXTE_MODULE::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF TEXTE_MODULE::GetMenuImage() const
|
||||
{
|
||||
return footprint_text_xpm;
|
||||
}
|
||||
|
||||
|
||||
EDA_ITEM* TEXTE_MODULE::Clone() const
|
||||
{
|
||||
return new TEXTE_MODULE( *this );
|
||||
|
|
|
@ -193,7 +193,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return footprint_text_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
#include <pcbnew.h>
|
||||
#include <base_units.h>
|
||||
#include <msgpanel.h>
|
||||
|
||||
#include <bitmaps.h>
|
||||
|
||||
/**
|
||||
* Function ShowClearance
|
||||
|
@ -149,6 +149,12 @@ wxString SEGZONE::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF SEGZONE::GetMenuImage() const
|
||||
{
|
||||
return add_zone_xpm;
|
||||
}
|
||||
|
||||
|
||||
VIA::VIA( BOARD_ITEM* aParent ) :
|
||||
TRACK( aParent, PCB_VIA_T )
|
||||
{
|
||||
|
@ -211,6 +217,12 @@ wxString VIA::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF VIA::GetMenuImage() const
|
||||
{
|
||||
return via_sketch_xpm;
|
||||
}
|
||||
|
||||
|
||||
int TRACK::GetClearance( BOARD_CONNECTED_ITEM* aItem ) const
|
||||
{
|
||||
// Currently tracks have no specific clearance parameter on a per track or per
|
||||
|
@ -1581,6 +1593,12 @@ wxString TRACK::GetSelectMenuText() const
|
|||
}
|
||||
|
||||
|
||||
BITMAP_DEF TRACK:: GetMenuImage() const
|
||||
{
|
||||
return showtrack_xpm;
|
||||
}
|
||||
|
||||
|
||||
#if defined(DEBUG)
|
||||
|
||||
wxString TRACK::ShowState( int stateBits )
|
||||
|
|
|
@ -294,7 +294,7 @@ public:
|
|||
|
||||
virtual wxString GetSelectMenuText() const override;
|
||||
|
||||
virtual BITMAP_DEF GetMenuImage() const override { return showtrack_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
virtual EDA_ITEM* Clone() const override;
|
||||
|
||||
|
@ -366,7 +366,7 @@ public:
|
|||
void Draw( EDA_DRAW_PANEL* panel, wxDC* DC,
|
||||
GR_DRAWMODE aDrawMode, const wxPoint& aOffset = ZeroOffset ) override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return add_zone_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
@ -426,7 +426,7 @@ public:
|
|||
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
BITMAP_DEF GetMenuImage() const override { return via_sketch_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include <macros.h>
|
||||
#include <wxBasePcbFrame.h>
|
||||
#include <msgpanel.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board.h>
|
||||
#include <class_zone.h>
|
||||
|
@ -851,3 +852,9 @@ wxString ZONE_CONTAINER::GetSelectMenuText() const
|
|||
|
||||
return msg;
|
||||
}
|
||||
|
||||
|
||||
BITMAP_DEF ZONE_CONTAINER::GetMenuImage() const
|
||||
{
|
||||
return add_zone_xpm;
|
||||
}
|
||||
|
|
|
@ -515,11 +515,11 @@ public:
|
|||
m_FillSegmList.insert( m_FillSegmList.end(), aSegments.begin(), aSegments.end() );
|
||||
}
|
||||
|
||||
virtual wxString GetSelectMenuText() const override;
|
||||
wxString GetSelectMenuText() const override;
|
||||
|
||||
virtual BITMAP_DEF GetMenuImage() const override { return add_zone_xpm; }
|
||||
BITMAP_DEF GetMenuImage() const override;
|
||||
|
||||
virtual EDA_ITEM* Clone() const override;
|
||||
EDA_ITEM* Clone() const override;
|
||||
|
||||
/**
|
||||
* Accessors to parameters used in Keepout zones:
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include <base_units.h>
|
||||
#include <project.h>
|
||||
#include <board_commit.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_module.h>
|
||||
#include <class_text_mod.h>
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
#include <validators.h>
|
||||
#include <kicad_string.h>
|
||||
#include <board_commit.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_module.h>
|
||||
#include <class_text_mod.h>
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
#include "dialog_pns_length_tuning_settings.h"
|
||||
#include <router/pns_meander_placer.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
DIALOG_PNS_LENGTH_TUNING_SETTINGS::DIALOG_PNS_LENGTH_TUNING_SETTINGS( wxWindow* aParent,
|
||||
PNS::MEANDER_SETTINGS& aSettings, PNS::ROUTER_MODE aMode )
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include <wizard_add_fplib.h>
|
||||
#include <fp_lib_table.h>
|
||||
#include <confirm.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_module.h>
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include <3d_viewer/eda_3d_viewer.h>
|
||||
#include <msgpanel.h>
|
||||
#include <macros.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board.h>
|
||||
#include <class_module.h>
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <pgm_base.h>
|
||||
#include <wxPcbStruct.h>
|
||||
|
||||
|
||||
#include "help_common_strings.h"
|
||||
#include "hotkeys.h"
|
||||
#include "module_editor_frame.h"
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include <3d_viewer/eda_3d_viewer.h>
|
||||
#include <msgpanel.h>
|
||||
#include <fp_lib_table.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board.h>
|
||||
#include <class_module.h>
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include <fp_lib_table.h>
|
||||
#include <lib_id.h>
|
||||
#include <confirm.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board.h>
|
||||
#include <class_module.h>
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <class_drawpanel.h>
|
||||
#include <macros.h>
|
||||
#include <base_units.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board.h>
|
||||
#include <class_module.h>
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include <3d_viewer/eda_3d_viewer.h>
|
||||
#include <msgpanel.h>
|
||||
#include <fp_lib_table.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <pcbnew.h>
|
||||
#include <pcbnew_id.h>
|
||||
|
|
|
@ -38,6 +38,7 @@ using namespace std::placeholders;
|
|||
#include <dialogs/dialog_pns_length_tuning_settings.h>
|
||||
#include <dialogs/dialog_track_via_size.h>
|
||||
#include <base_units.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <tool/context_menu.h>
|
||||
#include <tools/common_actions.h>
|
||||
|
|
|
@ -41,6 +41,7 @@ using namespace std::placeholders;
|
|||
#include <base_units.h>
|
||||
#include <hotkeys.h>
|
||||
#include <confirm.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <tool/context_menu.h>
|
||||
#include <tool/tool_manager.h>
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include <dialog_helpers.h>
|
||||
#include <pcbnew_id.h>
|
||||
#include <hotkeys.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
|
||||
void FOOTPRINT_EDIT_FRAME::ReCreateHToolbar()
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include <wxPcbStruct.h>
|
||||
#include <class_drawpanel.h>
|
||||
#include <confirm.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board.h>
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include <draw_frame.h>
|
||||
#include <class_base_screen.h>
|
||||
#include <tools/common_actions.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <functional>
|
||||
using namespace std::placeholders;
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include <view/view_controls.h>
|
||||
#include <view/view.h>
|
||||
#include <tool/tool_manager.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <class_board_item.h>
|
||||
#include <class_module.h>
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
#include <zones_functions_for_undo_redo.h>
|
||||
#include <board_commit.h>
|
||||
#include <confirm.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <view/view_group.h>
|
||||
#include <view/view_controls.h>
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
#include <class_board.h>
|
||||
#include <pcbnew_id.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
|
||||
TRACK_VIA_SIZE_MENU::TRACK_VIA_SIZE_MENU( bool aTrackSizes, bool aViaSizes ) :
|
||||
m_tracks( aTrackSizes ), m_vias( aViaSizes )
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <draw_frame.h>
|
||||
#include <class_base_screen.h>
|
||||
#include <tools/common_actions.h>
|
||||
#include <bitmaps.h>
|
||||
|
||||
#include <functional>
|
||||
using namespace std::placeholders;
|
||||
|
|
Loading…
Reference in New Issue