Removed redundant TRACE_* classes
This commit is contained in:
parent
dfeb5385f3
commit
38810930ec
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue