13#ifndef __AUDACITY_EFFECT_EQUALIZATION_UI__
14#define __AUDACITY_EFFECT_EQUALIZATION_UI__
31#include <wx/weakref.h>
37 const wxWeakRef<wxWindow> &uiParent,
55 template<
typename EventTag,
typename Class,
typename Event>
57 wxEvtHandler &src,
const EventTag& eventType,
void (Class::*pmf)(Event &))
59 src.Bind(eventType, pmf,
static_cast<Class *
>(
this));
67 void OnSize( wxSizeEvent & event );
68 void OnInterp( wxCommandEvent & event );
74 void OnCurve( wxCommandEvent & event );
75 void OnManage( wxCommandEvent & event );
76 void OnClear( wxCommandEvent & event );
77 void OnInvert( wxCommandEvent & event );
80 void OnIdle( wxIdleEvent &event );
120 DECLARE_EVENT_TABLE()
static Settings & settings()
Performs effect computation.
Hold values to send to effect output meters.
EqualizationPanel is used with EqualizationDialog and controls a graph for EffectEqualization....
void OnIdle(wxIdleEvent &event)
void OnSliderDBMAX(wxCommandEvent &event)
void OnDrawMode(wxCommandEvent &event)
void OnManage(wxCommandEvent &event)
EqualizationCurvesList & mCurvesList
void OnGraphicMode(wxCommandEvent &event)
wxWeakRef< EqualizationPanel > mPanel
void OnClear(wxCommandEvent &event)
void OnLinFreq(wxCommandEvent &event)
void OnInterp(wxCommandEvent &event)
wxSizerItem * mLeftSpacer
EffectUIServices & mUIServices
void OnCurve(wxCommandEvent &event)
EqualizationUI(EffectUIServices &uiServices, const wxWeakRef< wxWindow > &uiParent, const TranslatableString &name, EqualizationCurvesList &curvesList, int options)
void BindTo(wxEvtHandler &src, const EventTag &eventType, void(Class::*pmf)(Event &))
void OnSliderDBMIN(wxCommandEvent &event)
EqualizationBandSliders mBands
bool ValidateUI(EffectSettings &settings)
void OnInvert(wxCommandEvent &event)
const wxWeakRef< wxWindow > & mUIParent
void OnSliderM(wxCommandEvent &event)
std::unique_ptr< EffectEditor > PopulateOrExchange(ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs)
bool TransferDataToWindow(const EffectSettings &settings)
void OnSize(wxSizeEvent &event)
wxWeakRef< wxChoice > mCurve
void OnGridOnOff(wxCommandEvent &event)
RulerPanel class allows you to work with a Ruler like any other wxWindow.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Holds a msgid for the translation catalog; may also bind format arguments.
Externalized state of a plug-in.
Maintains a list of preset curves for Equalization effects.