Eeschema: simulator: allow dotted traces for current and phase.
ADD: Allow drawing of current and phase traces with dotted style for easier differentiation from voltage and magnitude. The option is available in the View menu of the simulator.
This commit is contained in:
committed by
Wayne Stambaugh
parent
3342055af6
commit
f433037dcd
@@ -1084,6 +1084,23 @@ void SIM_PLOT_FRAME::menuShowLegendUpdate( wxUpdateUIEvent& event )
|
||||
}
|
||||
|
||||
|
||||
void SIM_PLOT_FRAME::menuShowDotted( wxCommandEvent& event )
|
||||
{
|
||||
SIM_PLOT_PANEL* plot = CurrentPlot();
|
||||
|
||||
if( plot )
|
||||
plot->SetDottedCurrentPhase( !plot->GetDottedCurrentPhase() );
|
||||
}
|
||||
|
||||
|
||||
void SIM_PLOT_FRAME::menuShowDottedUpdate( wxUpdateUIEvent& event )
|
||||
{
|
||||
SIM_PLOT_PANEL* plot = CurrentPlot();
|
||||
|
||||
event.Check( plot ? plot->GetDottedCurrentPhase() : false );
|
||||
}
|
||||
|
||||
|
||||
void SIM_PLOT_FRAME::onPlotClose( wxAuiNotebookEvent& event )
|
||||
{
|
||||
int idx = event.GetSelection();
|
||||
|
||||
Reference in New Issue
Block a user