MCPcopy Create free account
hub / github.com/audacity/audacity / Show

Method Show

src/FreqWindow.cpp:545–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545bool FrequencyPlotDialog::Show(bool show)
546{
547 if (!show)
548 {
549 mFreqPlot->SetCursor(*mArrowCursor);
550 }
551
552 bool shown = IsShown();
553
554 if (show && !shown)
555 {
556 dBRange = DecibelScaleCutoff.Read();
557 if(dBRange < 90.)
558 dBRange = 90.;
559 if (!GetAudio())
560 return false;
561 // Don't send an event. We need the recalc right away.
562 // so that mAnalyst is valid when we paint.
563 //SendRecalcEvent();
564 Recalc();
565 }
566
567 bool res = wxDialogWrapper::Show(show);
568
569 return res;
570}
571
572void FrequencyPlotDialog::OnSize(wxSizeEvent & WXUNUSED(event))
573{

Callers 15

ApplyMacroToProjectMethod · 0.45
OnApplyToFilesMethod · 0.45
OnManageMacrosFunction · 0.45
OnApplyMacrosPaletteFunction · 0.45
ShowVerticalScrollbarMethod · 0.45
InitPart2Method · 0.45
OnMenuAboutMethod · 0.45
OnMixerBoardFunction · 0.45
NewMethod · 0.45
OnPlotSpectrumFunction · 0.45

Calls 2

SetCursorMethod · 0.80
ReadMethod · 0.45

Tested by

no test coverage detected