From 38810930ec474466323c94293b5718862755c532 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Thu, 11 Aug 2016 14:41:53 +0200 Subject: [PATCH] Removed redundant TRACE_* classes --- eeschema/sim/sim_plot_panel.cpp | 14 +------------- eeschema/sim/sim_plot_panel.h | 20 -------------------- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/eeschema/sim/sim_plot_panel.cpp b/eeschema/sim/sim_plot_panel.cpp index 9c2891ddca..7e278a26f6 100644 --- a/eeschema/sim/sim_plot_panel.cpp +++ b/eeschema/sim/sim_plot_panel.cpp @@ -362,19 +362,7 @@ bool SIM_PLOT_PANEL::AddTrace( const wxString& aName, int aPoints, if( addedNewEntry ) { // New entry - switch ( m_type ) - { - case ST_TRANSIENT: - t = new TRACE_TRANSIENT( aName ); - break; - case ST_AC: - //printf("makeFreqResp!\n"); - t = new TRACE_FREQ_RESPONSE( aName ); - break; - default: - assert(false); - } - + t = new TRACE( aName ); t->SetPen( wxPen( generateColor(), 2, wxSOLID ) ); m_traces[aName] = t; diff --git a/eeschema/sim/sim_plot_panel.h b/eeschema/sim/sim_plot_panel.h index 27d1981cf2..e07aa15286 100644 --- a/eeschema/sim/sim_plot_panel.h +++ b/eeschema/sim/sim_plot_panel.h @@ -128,26 +128,6 @@ protected: CURSOR* m_cursor; }; -class TRACE_FREQ_RESPONSE : public TRACE -{ -public: - TRACE_FREQ_RESPONSE( const wxString& aName ) : - TRACE( aName ) - { - printf("makeFreqResponse!\n"); - } - -}; - -class TRACE_TRANSIENT : public TRACE -{ -public: - TRACE_TRANSIENT( const wxString& aName ) : - TRACE( aName ) - { - } - -}; class SIM_PLOT_PANEL : public mpWindow {