11#ifndef __AUDACITY_SPECTRAL_SELECTION_BAR__
12#define __AUDACITY_SPECTRAL_SELECTION_BAR__
43 void Create(wxWindow *parent)
override;
46 void Repaint(wxDC * WXUNUSED(dc))
override {};
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
An explicitly nonlocalized string, not meant for the user to see.
(not quite a Toolbar) at foot of screen for setting and viewing the frequency selection range.
void UpdatePrefs() override
NumericTextCtrl * mCenterCtrl
void SetBandwidthSelectionFormatName(const NumericFormatSymbol &formatName)
NumericTextCtrl * mWidthCtrl
void Repaint(wxDC *WXUNUSED(dc)) override
SpectralSelectionBar(AudacityProject &project)
static const SpectralSelectionBar & Get(const AudacityProject &project)
DockID DefaultDockID() const override
Which dock the toolbar defaults into. Default implementation chooses the top dock.
void SetFrequencies(double bottom, double top)
NumericTextCtrl * mLowCtrl
void OnChoice(wxCommandEvent &evt)
void OnSize(wxSizeEvent &evt)
void Create(wxWindow *parent) override
void OnUpdate(wxCommandEvent &evt)
void OnIdle(wxIdleEvent &evt)
void RegenerateTooltips() override
SpectralSelectionBarListener * mListener
bool ShownByDefault() const override
Whether the toolbar should be shown by default. Default implementation returns true.
static SpectralSelectionBar & Get(AudacityProject &project)
NumericTextCtrl * mHighCtrl
virtual ~SpectralSelectionBar()
void OnCtrl(wxCommandEvent &evt)
void ModifySpectralSelection(bool done=false)
void EnableDisableButtons() override
void SetFrequencySelectionFormatName(const NumericFormatSymbol &formatName)
void SetListener(SpectralSelectionBarListener *l)
A class used to forward events to do with changes in the SpectralSelectionBar.