13#ifndef __AUDACITY_EFFECT_EQUALIZATION_UI__
14#define __AUDACITY_EFFECT_EQUALIZATION_UI__
31#include <wx/weakref.h>
37 const wxWeakRef<wxWindow> &uiParent,
51 void setCurve(
const wxString &curveName);
59 template<
typename EventTag,
typename Class,
typename Event>
61 wxEvtHandler &src,
const EventTag& eventType,
void (Class::*pmf)(Event &))
63 src.Bind(eventType, pmf,
static_cast<Class *
>(
this));
71 void OnSize( wxSizeEvent & event );
72 void OnInterp( wxCommandEvent & event );
78 void OnCurve( wxCommandEvent & event );
79 void OnManage( wxCommandEvent & event );
80 void OnClear( wxCommandEvent & event );
81 void OnInvert( wxCommandEvent & event );
84 void OnIdle( wxIdleEvent &event );
129 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
EffectUIServices & mUIServices
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
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
EqualizationUI(EffectSettingsManager &manager, EffectUIServices &uiServices, const wxWeakRef< wxWindow > &uiParent, const TranslatableString &name, EqualizationCurvesList &curvesList, int options)
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.