13#ifndef __AUDACITY_EFFECT_EQUALIZATION_UI__
14#define __AUDACITY_EFFECT_EQUALIZATION_UI__
30#include <wx/weakref.h>
35 const wxWeakRef<wxWindow> &uiParent,
48 void setCurve(
const wxString &curveName);
56 template<
typename EventTag,
typename Class,
typename Event>
58 wxEvtHandler &src,
const EventTag& eventType,
void (Class::*pmf)(Event &))
60 src.Bind(eventType, pmf,
static_cast<Class *
>(
this));
68 void OnSize( wxSizeEvent & event );
69 void OnInterp( wxCommandEvent & event );
75 void OnCurve( wxCommandEvent & event );
76 void OnManage( wxCommandEvent & event );
77 void OnClear( wxCommandEvent & event );
78 void OnInvert( wxCommandEvent & event );
81 void OnIdle( wxIdleEvent &event );
125 DECLARE_EVENT_TABLE()
const TranslatableString name
static const AttachedProjectObjects::RegisteredFactory manager
static Settings & settings()
Performs effect computation.
Hold values to send to effect output meters.
EffectSettingsManager is an EffectDefinitionInterface that adds a factory function for EffectSettings...
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)
EffectSettingsManager & mManager
void OnLinFreq(wxCommandEvent &event)
void OnInterp(wxCommandEvent &event)
wxSizerItem * mLeftSpacer
void OnCurve(wxCommandEvent &event)
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
EqualizationUI(EffectSettingsManager &manager, const wxWeakRef< wxWindow > &uiParent, const TranslatableString &name, EqualizationCurvesList &curvesList, int options)
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.