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

Method OnSliderDBMAX

src/effects/EqualizationUI.cpp:757–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757void EqualizationUI::OnSliderDBMAX(wxCommandEvent & WXUNUSED(event))
758{
759 auto &dBMax = mCurvesList.mParameters.mdBMax;
760
761 float dB = mdBMaxSlider->GetValue();
762 if (dB != dBMax) {
763 dBMax = dB;
764 wxString tip;
765 tip.Printf(_("%d dB"), (int)dBMax);
766 mdBMaxSlider->SetToolTip(tip);
767 UpdateRuler();
768 }
769}
770
771//
772// New curve was selected

Callers

nothing calls this directly

Calls 2

GetValueMethod · 0.45
SetToolTipMethod · 0.45

Tested by

no test coverage detected