13#ifndef __AUDACITY_VST_EDITOR__
14#define __AUDACITY_VST_EDITOR__
17#include "../EffectEditor.h"
21#include <wx/weakref.h>
63 void Automate(
int index,
float value)
override;
71 void Flush()
override;
78 void OnIdle(wxIdleEvent &evt);
static Settings & settings()
Performs effect computation.
void BuildPlain(EffectSettingsAccess &access, EffectType effectType, double projectRate)
ArrayOf< wxStaticText * > mLabels
bool IsGraphicalUI() override
bool FetchSettingsFromInstance(EffectSettings &settings)
void BuildFancy(EffectInstance &instance)
void NotifyParameterChanged(int index, float value)
void OnSizeWindow(wxCommandEvent &evt)
std::unique_ptr< VSTTimer > mTimer
std::vector< wxString > mParamNames
bool StoreSettingsToInstance(const EffectSettings &settings)
void Automate(int index, float value) override
void OnSlider(wxCommandEvent &evt)
void NeedEditIdle(bool state)
ArrayOf< wxStaticText * > mDisplays
wxWeakRef< wxDialog > mDialog
void SizeWindow(int w, int h) override
bool ValidateUI() override
Get settings data from the panel; may make error dialogs and return false.
ArrayOf< wxStaticText * > mNames
void RefreshParameters(int skip=-1) const
int ShowDialog(bool nonModal)
void OnIdle(wxIdleEvent &evt)
std::vector< std::pair< int, double > > mLastMovements
VSTInstance & GetInstance() const
NumericTextCtrl * mDuration
bool UpdateUI() override
Update appearance of the panel for changes in settings.
VSTEditor(VSTInstance &instance, EffectType type, bool gui, const EffectUIServices &services, EffectSettingsAccess &access, wxWindow *pParent, int numParams)
ArrayOf< wxSlider * > mSliders
Externalized state of a plug-in.