![]() |
Audacity 3.2.0
|
Public Member Functions | |
| Editor (const EffectUIServices &services, EffectSettingsAccess &access, const EffectWahwahSettings &settings) | |
| virtual | ~Editor ()=default |
| bool | ValidateUI () override |
| Get settings data from the panel; may make error dialogs and return false. More... | |
| bool | UpdateUI () override |
| Update appearance of the panel for changes in settings. More... | |
| void | PopulateOrExchange (ShuttleGui &S) |
| void | OnFreqSlider (wxCommandEvent &evt) |
| void | OnPhaseSlider (wxCommandEvent &evt) |
| void | OnDepthSlider (wxCommandEvent &evt) |
| void | OnResonanceSlider (wxCommandEvent &evt) |
| void | OnFreqOffSlider (wxCommandEvent &evt) |
| void | OnGainSlider (wxCommandEvent &evt) |
| void | OnFreqText (wxCommandEvent &evt) |
| void | OnPhaseText (wxCommandEvent &evt) |
| void | OnDepthText (wxCommandEvent &evt) |
| void | OnResonanceText (wxCommandEvent &evt) |
| void | OnFreqOffText (wxCommandEvent &evt) |
| void | OnGainText (wxCommandEvent &evt) |
| void | EnableApplyFromValidate () |
| bool | EnableApplyFromTransferDataToWindow () |
Public Member Functions inherited from EffectEditor | |
| EffectEditor (const EffectUIServices &services, EffectSettingsAccess &access) | |
| virtual | ~EffectEditor () |
| virtual bool | ValidateUI ()=0 |
| Get settings data from the panel; may make error dialogs and return false. More... | |
| virtual bool | UpdateUI () |
| Update appearance of the panel for changes in settings. More... | |
| virtual bool | IsGraphicalUI () |
| virtual void | Disconnect () |
| On the first call only, may disconnect from further event handling. More... | |
| virtual void | OnClose () |
Public Member Functions inherited from Observer::Publisher< EffectSettingChanged > | |
| Publisher (ExceptionPolicy *pPolicy=nullptr, Alloc a={}) | |
| Constructor supporting type-erased custom allocation/deletion. More... | |
| Publisher (Publisher &&)=default | |
| Publisher & | operator= (Publisher &&)=default |
| Subscription | Subscribe (Callback callback) |
| Connect a callback to the Publisher; later-connected are called earlier. More... | |
| Subscription | Subscribe (Object &obj, Return(Object::*callback)(Args...)) |
| Overload of Subscribe takes an object and pointer-to-member-function. More... | |
Public Attributes | |
| wxTextCtrl * | mFreqT |
| wxTextCtrl * | mPhaseT |
| wxTextCtrl * | mDepthT |
| wxTextCtrl * | mResT |
| wxTextCtrl * | mFreqOfsT |
| wxTextCtrl * | mOutGainT |
| wxSlider * | mFreqS |
| wxSlider * | mPhaseS |
| wxSlider * | mDepthS |
| wxSlider * | mResS |
| wxSlider * | mFreqOfsS |
| wxSlider * | mOutGainS |
| wxWeakRef< wxWindow > | mUIParent |
| EffectWahwahSettings | mSettings |
Additional Inherited Members | |
Public Types inherited from Observer::Publisher< EffectSettingChanged > | |
| using | message_type = EffectSettingChanged |
| using | CallbackReturn = std::conditional_t< true, void, bool > |
| using | Callback = std::function< CallbackReturn(const EffectSettingChanged &) > |
| Type of functions that can be connected to the Publisher. More... | |
Static Public Member Functions inherited from EffectEditor | |
| static bool | EnableApply (wxWindow *parent, bool enable=true) |
| Enable or disable the Apply button of the dialog that contains parent. More... | |
| static bool | EnablePreview (wxWindow *parent, bool enable=true) |
Static Public Attributes inherited from EffectEditor | |
| static constexpr int | kPlayID = 20102 |
Static Public Attributes inherited from Observer::Publisher< EffectSettingChanged > | |
| static constexpr bool | notifies_all |
Protected Member Functions inherited from EffectEditor | |
| template<typename EventTag , typename Class , typename Event > | |
| void | BindTo (wxEvtHandler &src, const EventTag &eventType, void(Class::*pmf)(Event &)) |
Protected Member Functions inherited from Observer::Publisher< EffectSettingChanged > | |
| CallbackReturn | Publish (const EffectSettingChanged &message) |
| Send a message to connected callbacks. More... | |
Protected Attributes inherited from EffectEditor | |
| const EffectUIServices & | mUIServices |
| EffectSettingsAccess & | mAccess |
| bool | mUIClosed { false } |
Definition at line 36 of file Wahwah.cpp.
|
inline |
Definition at line 39 of file Wahwah.cpp.
|
virtualdefault |
|
inline |
Definition at line 88 of file Wahwah.cpp.
References EffectEditor::EnableApply(), and mUIParent.
|
inline |
Definition at line 83 of file Wahwah.cpp.
References EffectEditor::EnableApply(), and mUIParent.
| void EffectWahwah::Editor::OnDepthSlider | ( | wxCommandEvent & | evt | ) |
Definition at line 263 of file Wahwah.cpp.
References WahWahBase::Depth, EffectParameter< Structure, Member, Type, Value >::scale, and BasicEffectUIServices::ValidateUI().
Referenced by PopulateOrExchange().
| void EffectWahwah::Editor::OnDepthText | ( | wxCommandEvent & | evt | ) |
Definition at line 339 of file Wahwah.cpp.
References WahWahBase::Depth, EffectParameter< Structure, Member, Type, Value >::scale, and BasicEffectUIServices::ValidateUI().
Referenced by PopulateOrExchange().
| void EffectWahwah::Editor::OnFreqOffSlider | ( | wxCommandEvent & | evt | ) |
Definition at line 287 of file Wahwah.cpp.
References WahWahBase::FreqOfs, EffectParameter< Structure, Member, Type, Value >::scale, and BasicEffectUIServices::ValidateUI().
Referenced by PopulateOrExchange().
| void EffectWahwah::Editor::OnFreqOffText | ( | wxCommandEvent & | evt | ) |
Definition at line 367 of file Wahwah.cpp.
References WahWahBase::FreqOfs, EffectParameter< Structure, Member, Type, Value >::scale, and BasicEffectUIServices::ValidateUI().
Referenced by PopulateOrExchange().
| void EffectWahwah::Editor::OnFreqSlider | ( | wxCommandEvent & | evt | ) |
Definition at line 236 of file Wahwah.cpp.
References WahWahBase::Freq, EffectParameter< Structure, Member, Type, Value >::scale, and BasicEffectUIServices::ValidateUI().
Referenced by PopulateOrExchange().
| void EffectWahwah::Editor::OnFreqText | ( | wxCommandEvent & | evt | ) |
Definition at line 311 of file Wahwah.cpp.
References WahWahBase::Freq, EffectParameter< Structure, Member, Type, Value >::scale, and BasicEffectUIServices::ValidateUI().
Referenced by PopulateOrExchange().
| void EffectWahwah::Editor::OnGainSlider | ( | wxCommandEvent & | evt | ) |
Definition at line 299 of file Wahwah.cpp.
References WahWahBase::OutGain, EffectParameter< Structure, Member, Type, Value >::scale, and BasicEffectUIServices::ValidateUI().
Referenced by PopulateOrExchange().
| void EffectWahwah::Editor::OnGainText | ( | wxCommandEvent & | evt | ) |
Definition at line 381 of file Wahwah.cpp.
References WahWahBase::OutGain, EffectParameter< Structure, Member, Type, Value >::scale, and BasicEffectUIServices::ValidateUI().
Referenced by PopulateOrExchange().
| void EffectWahwah::Editor::OnPhaseSlider | ( | wxCommandEvent & | evt | ) |
Definition at line 248 of file Wahwah.cpp.
References EffectParameter< Structure, Member, Type, Value >::max, WahWahBase::Phase, EffectParameter< Structure, Member, Type, Value >::scale, and BasicEffectUIServices::ValidateUI().
Referenced by PopulateOrExchange().
| void EffectWahwah::Editor::OnPhaseText | ( | wxCommandEvent & | evt | ) |
Definition at line 325 of file Wahwah.cpp.
References WahWahBase::Phase, EffectParameter< Structure, Member, Type, Value >::scale, and BasicEffectUIServices::ValidateUI().
Referenced by PopulateOrExchange().
| void EffectWahwah::Editor::OnResonanceSlider | ( | wxCommandEvent & | evt | ) |
Definition at line 275 of file Wahwah.cpp.
References WahWahBase::Res, EffectParameter< Structure, Member, Type, Value >::scale, and BasicEffectUIServices::ValidateUI().
Referenced by PopulateOrExchange().
| void EffectWahwah::Editor::OnResonanceText | ( | wxCommandEvent & | evt | ) |
Definition at line 353 of file Wahwah.cpp.
References WahWahBase::Res, EffectParameter< Structure, Member, Type, Value >::scale, and BasicEffectUIServices::ValidateUI().
Referenced by PopulateOrExchange().
| void EffectWahwah::Editor::PopulateOrExchange | ( | ShuttleGui & | S | ) |
Definition at line 123 of file Wahwah.cpp.
References EffectParameter< Structure, Member, Type, Value >::def, WahWahBase::Depth, WahWahBase::Freq, WahWahBase::FreqOfs, EffectParameter< Structure, Member, Type, Value >::max, EffectParameter< Structure, Member, Type, Value >::min, OnDepthSlider(), OnDepthText(), OnFreqOffSlider(), OnFreqOffText(), OnFreqSlider(), OnFreqText(), OnGainSlider(), OnGainText(), OnPhaseSlider(), OnPhaseText(), OnResonanceSlider(), OnResonanceText(), WahWahBase::OutGain, WahWahBase::Phase, WahWahBase::Res, S, EffectParameter< Structure, Member, Type, Value >::scale, XO(), and XXO().
|
overridevirtual |
Update appearance of the panel for changes in settings.
Default implementation does nothing, returns true
Reimplemented from EffectEditor.
Definition at line 217 of file Wahwah.cpp.
References WahWahBase::Depth, WahWahBase::Freq, WahWahBase::FreqOfs, EffectWithSettings< EffectWahwahSettings, PerTrackEffect >::GetSettings(), WahWahBase::OutGain, WahWahBase::Phase, WahWahBase::Res, EffectParameter< Structure, Member, Type, Value >::scale, and settings().
|
overridevirtual |
Get settings data from the panel; may make error dialogs and return false.
Implements EffectEditor.
Definition at line 95 of file Wahwah.cpp.
References EffectWithSettings< EffectWahwahSettings, PerTrackEffect >::GetSettings(), EffectEditor::mAccess, EffectSettingsAccess::ModifySettings(), mSettings, and settings().
| wxSlider* EffectWahwah::Editor::mDepthS |
Definition at line 74 of file Wahwah.cpp.
| wxTextCtrl* EffectWahwah::Editor::mDepthT |
Definition at line 67 of file Wahwah.cpp.
| wxSlider* EffectWahwah::Editor::mFreqOfsS |
Definition at line 76 of file Wahwah.cpp.
| wxTextCtrl* EffectWahwah::Editor::mFreqOfsT |
Definition at line 69 of file Wahwah.cpp.
| wxSlider* EffectWahwah::Editor::mFreqS |
Definition at line 72 of file Wahwah.cpp.
| wxTextCtrl* EffectWahwah::Editor::mFreqT |
Definition at line 65 of file Wahwah.cpp.
| wxSlider* EffectWahwah::Editor::mOutGainS |
Definition at line 77 of file Wahwah.cpp.
| wxTextCtrl* EffectWahwah::Editor::mOutGainT |
Definition at line 70 of file Wahwah.cpp.
| wxSlider* EffectWahwah::Editor::mPhaseS |
Definition at line 73 of file Wahwah.cpp.
| wxTextCtrl* EffectWahwah::Editor::mPhaseT |
Definition at line 66 of file Wahwah.cpp.
| wxSlider* EffectWahwah::Editor::mResS |
Definition at line 75 of file Wahwah.cpp.
| wxTextCtrl* EffectWahwah::Editor::mResT |
Definition at line 68 of file Wahwah.cpp.
| EffectWahwahSettings EffectWahwah::Editor::mSettings |
Definition at line 81 of file Wahwah.cpp.
Referenced by ValidateUI().
| wxWeakRef<wxWindow> EffectWahwah::Editor::mUIParent |
Definition at line 80 of file Wahwah.cpp.
Referenced by EnableApplyFromTransferDataToWindow(), and EnableApplyFromValidate().