32 ,
protected wxEvtHandler
41 wxWindow *pParent =
nullptr);
45 bool ValidateUI()
override;
46 void Disconnect()
override;
52DefaultEffectEditor::DefaultEffectEditor(
const EffectPlugin &plugin,
87std::unique_ptr<EffectEditor>
92 auto parent =
S.GetParent();
100 parent->SetMinSize(parent->GetSizer()->GetMinSize());
104 result = std::make_unique<DefaultEffectEditor>(plugin,
105 *pThis, access,
S.GetParent());
106 parent->PushEventHandler(pThis);
static Settings & settings()
const EffectUIServices & mUIServices
EffectSettingsAccess & mAccess
Performs effect computation.
Hold values to send to effect output meters.
Factory of instances of an effect.
void ModifySettings(Function &&function)
Do a correct read-modify-write of settings.
virtual bool ValidateUI(const EffectPlugin &context, EffectSettings &settings) const =0
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
virtual bool TransferDataToWindow(const EffectSettings &settings)
virtual std::unique_ptr< EffectEditor > PopulateOrExchange(ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs)
Add controls to effect panel; always succeeds.
~StatefulEffectUIServices() override
virtual bool TransferDataFromWindow(EffectSettings &settings)
std::unique_ptr< EffectEditor > PopulateUI(const EffectPlugin &plugin, ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) const override
Allows PopulateOrExchange to return null.
const EffectPlugin & mPlugin
bool ValidateUI() override
Calls mServices.ValidateUI()
~DefaultEffectEditor() override
Calls Disconnect.
void Disconnect() override
On the first call only, may disconnect from further event handling.
Externalized state of a plug-in.