mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Remove unused variables
This commit is contained in:
parent
0271047b26
commit
7f46f2a8d1
@ -353,7 +353,6 @@ private:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
wxFileName m_project_name; ///< \<fullpath\>/\<basename\>.pro
|
wxFileName m_project_name; ///< \<fullpath\>/\<basename\>.pro
|
||||||
wxString m_pro_date_and_time;
|
|
||||||
|
|
||||||
bool m_readOnly; ///< No project files will be written to disk
|
bool m_readOnly; ///< No project files will be written to disk
|
||||||
int m_textVarsTicker; ///< Update counter on text vars
|
int m_textVarsTicker; ///< Update counter on text vars
|
||||||
|
@ -173,10 +173,8 @@ static FOOTPRINT_EDITOR_SETTINGS& GetPgmSettings()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
PANEL_FP_EDITOR_FIELD_DEFAULTS::PANEL_FP_EDITOR_FIELD_DEFAULTS( wxWindow* aParent,
|
PANEL_FP_EDITOR_FIELD_DEFAULTS::PANEL_FP_EDITOR_FIELD_DEFAULTS( wxWindow* aParent ) :
|
||||||
UNITS_PROVIDER* aUnitsProvider ) :
|
|
||||||
PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE( aParent ),
|
PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE( aParent ),
|
||||||
m_unitProvider( aUnitsProvider ),
|
|
||||||
m_designSettings( GetPgmSettings().m_DesignSettings )
|
m_designSettings( GetPgmSettings().m_DesignSettings )
|
||||||
{
|
{
|
||||||
m_fieldPropsGrid->SetTable( new TEXT_ITEMS_GRID_TABLE( true ), true );
|
m_fieldPropsGrid->SetTable( new TEXT_ITEMS_GRID_TABLE( true ), true );
|
||||||
|
@ -32,7 +32,7 @@ class UNITS_PROVIDER;
|
|||||||
class PANEL_FP_EDITOR_FIELD_DEFAULTS : public PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE
|
class PANEL_FP_EDITOR_FIELD_DEFAULTS : public PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
PANEL_FP_EDITOR_FIELD_DEFAULTS( wxWindow* aParent, UNITS_PROVIDER* aUnitsProvider );
|
PANEL_FP_EDITOR_FIELD_DEFAULTS( wxWindow* aParent );
|
||||||
~PANEL_FP_EDITOR_FIELD_DEFAULTS() override;
|
~PANEL_FP_EDITOR_FIELD_DEFAULTS() override;
|
||||||
|
|
||||||
bool Show( bool aShow ) override;
|
bool Show( bool aShow ) override;
|
||||||
@ -49,6 +49,5 @@ private:
|
|||||||
void loadFPSettings( const FOOTPRINT_EDITOR_SETTINGS* aCfg );
|
void loadFPSettings( const FOOTPRINT_EDITOR_SETTINGS* aCfg );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
UNITS_PROVIDER* m_unitProvider;
|
|
||||||
BOARD_DESIGN_SETTINGS& m_designSettings;
|
BOARD_DESIGN_SETTINGS& m_designSettings;
|
||||||
};
|
};
|
||||||
|
@ -204,7 +204,7 @@ static struct IFACE : public KIFACE_BASE, public UNITS_PROVIDER
|
|||||||
if( frame )
|
if( frame )
|
||||||
SetUserUnits( frame->GetUserUnits() );
|
SetUserUnits( frame->GetUserUnits() );
|
||||||
|
|
||||||
return new PANEL_FP_EDITOR_FIELD_DEFAULTS( aParent, this );
|
return new PANEL_FP_EDITOR_FIELD_DEFAULTS( aParent );
|
||||||
}
|
}
|
||||||
|
|
||||||
case PANEL_FP_DEFAULT_GRAPHICS_VALUES:
|
case PANEL_FP_DEFAULT_GRAPHICS_VALUES:
|
||||||
|
@ -45,7 +45,6 @@ PANEL_ZONE_PROPERTIES::PANEL_ZONE_PROPERTIES( wxWindow* aParent, PCB_BASE_FRAME*
|
|||||||
ZONES_CONTAINER& aZoneContainer ) :
|
ZONES_CONTAINER& aZoneContainer ) :
|
||||||
PANEL_ZONE_PROPERTIES_BASE( aParent ),
|
PANEL_ZONE_PROPERTIES_BASE( aParent ),
|
||||||
m_ZoneContainer( aZoneContainer ),
|
m_ZoneContainer( aZoneContainer ),
|
||||||
m_PCB_Frame( aPCB_FRAME ),
|
|
||||||
m_cornerSmoothingType( ZONE_SETTINGS::SMOOTHING_UNDEFINED ),
|
m_cornerSmoothingType( ZONE_SETTINGS::SMOOTHING_UNDEFINED ),
|
||||||
m_outlineHatchPitch( aPCB_FRAME, m_stBorderHatchPitchText, m_outlineHatchPitchCtrl,
|
m_outlineHatchPitch( aPCB_FRAME, m_stBorderHatchPitchText, m_outlineHatchPitchCtrl,
|
||||||
m_outlineHatchUnits ),
|
m_outlineHatchUnits ),
|
||||||
|
@ -82,9 +82,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ZONES_CONTAINER& m_ZoneContainer;
|
ZONES_CONTAINER& m_ZoneContainer;
|
||||||
PCB_BASE_FRAME* m_PCB_Frame;
|
|
||||||
|
|
||||||
std::shared_ptr<ZONE_SETTINGS> m_settings;
|
std::shared_ptr<ZONE_SETTINGS> m_settings;
|
||||||
|
|
||||||
int m_cornerSmoothingType;
|
int m_cornerSmoothingType;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user