11#ifndef __AUDACITY_SPECTRAL_SELECTION_BAR__
12#define __AUDACITY_SPECTRAL_SELECTION_BAR__
44 void Create(wxWindow *parent)
override;
47 void Repaint(wxDC * WXUNUSED(dc))
override {};
63 void OnCtrl(wxCommandEvent &evt);
65 void OnIdle( wxIdleEvent &evt );
67 void OnSize(wxSizeEvent &evt);
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
An explicitly nonlocalized string, not meant for the user to see.
A move-only handle representing a connection to a Publisher.
(not quite a Toolbar) at foot of screen for setting and viewing the frequency selection range.
void UpdatePrefs() override
NumericTextCtrl * mCenterCtrl
NumericTextCtrl * mWidthCtrl
void Repaint(wxDC *WXUNUSED(dc)) override
SpectralSelectionBar(AudacityProject &project)
void SetBandwidthSelectionFormatName(const NumericFormatID &formatName)
void SetFrequencies(double bottom, double top)
NumericTextCtrl * mLowCtrl
void SetFrequencySelectionFormatName(const NumericFormatID &formatName)
void OnChoice(wxCommandEvent &evt)
void OnSize(wxSizeEvent &evt)
void Create(wxWindow *parent) override
void OnUpdate(wxCommandEvent &evt)
Observer::Subscription mFormatsSubscription
void OnIdle(wxIdleEvent &evt)
void RegenerateTooltips() override
bool ShownByDefault() const override
Whether the toolbar should be shown by default. Default implementation returns true.
DockID DefaultDockID() const override
Which dock the toolbar defaults into. Default implementation chooses the top dock.
NumericTextCtrl * mHighCtrl
void OnCtrl(wxCommandEvent &evt)
void ModifySpectralSelection(bool done=false)
static SpectralSelectionBar & Get(AudacityProject &project)
void EnableDisableButtons() override
virtual ~SpectralSelectionBar()
void OnFormatsChanged(ProjectNumericFormatsEvent)