Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
EffectWahwah::Validator Struct Reference
Inheritance diagram for EffectWahwah::Validator:
[legend]
Collaboration diagram for EffectWahwah::Validator:
[legend]

Public Member Functions

 Validator (EffectUIClientInterface &effect, EffectSettingsAccess &access, const EffectWahwahSettings &settings)
 
virtual ~Validator ()=default
 
EffectGetEffect () const
 
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 EffectUIValidator
 EffectUIValidator (EffectUIClientInterface &effect, EffectSettingsAccess &access)
 
virtual ~EffectUIValidator ()
 
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
 
Publisheroperator= (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 EffectUIValidator
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 EffectUIValidator
static constexpr int kPlayID = 20102
 
- Static Public Attributes inherited from Observer::Publisher< EffectSettingChanged >
static constexpr bool notifies_all
 
- Protected Member Functions inherited from EffectUIValidator
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 EffectUIValidator
EffectUIClientInterfacemEffect
 
EffectSettingsAccessmAccess
 
bool mUIClosed { false }
 

Detailed Description

Definition at line 52 of file Wahwah.cpp.

Constructor & Destructor Documentation

◆ Validator()

EffectWahwah::Validator::Validator ( EffectUIClientInterface effect,
EffectSettingsAccess access,
const EffectWahwahSettings settings 
)
inline

Definition at line 55 of file Wahwah.cpp.

57 : EffectUIValidator{ effect, access }
59 {}
static Settings & settings()
Definition: TrackInfo.cpp:87
Interface for transferring values from a panel of effect controls.
Definition: EffectPlugin.h:239
EffectWahwahSettings mSettings
Definition: Wahwah.cpp:99

◆ ~Validator()

virtual EffectWahwah::Validator::~Validator ( )
virtualdefault

Member Function Documentation

◆ EnableApplyFromTransferDataToWindow()

bool EffectWahwah::Validator::EnableApplyFromTransferDataToWindow ( )
inline

Definition at line 106 of file Wahwah.cpp.

107 {
108 return EnableApply(mUIParent, mUIParent->TransferDataFromWindow());
109 }
static bool EnableApply(wxWindow *parent, bool enable=true)
Enable or disable the Apply button of the dialog that contains parent.
wxWeakRef< wxWindow > mUIParent
Definition: Wahwah.cpp:98

References EffectUIValidator::EnableApply(), and mUIParent.

Here is the call graph for this function:

◆ EnableApplyFromValidate()

void EffectWahwah::Validator::EnableApplyFromValidate ( )
inline

Definition at line 101 of file Wahwah.cpp.

102 {
103 EnableApply(mUIParent, mUIParent->Validate());
104 }

References EffectUIValidator::EnableApply(), and mUIParent.

Here is the call graph for this function:

◆ GetEffect()

Effect & EffectWahwah::Validator::GetEffect ( ) const
inline

Definition at line 62 of file Wahwah.cpp.

62{ return static_cast<Effect&>(mEffect); }
Base class for many of the effects in Audacity.
Definition: Effect.h:62
EffectUIClientInterface & mEffect
Definition: EffectPlugin.h:296

References EffectUIValidator::mEffect.

◆ OnDepthSlider()

void EffectWahwah::Validator::OnDepthSlider ( wxCommandEvent &  evt)

Definition at line 502 of file Wahwah.cpp.

503{
504 auto& ms = mSettings;
505
506 ms.mDepth = evt.GetInt() / Depth.scale;
507 mDepthT->GetValidator()->TransferToWindow();
508
510 ValidateUI();
512}
static constexpr EffectParameter Depth
Definition: Wahwah.h:107
CallbackReturn Publish(const EffectSettingChanged &message)
Send a message to connected callbacks.
Definition: Observer.h:207
const Type scale
Scaling factor, for slider control.
Definition: Shuttle.h:32
Message sent by validator when a setting is changed by a user.
Definition: EffectPlugin.h:225
wxTextCtrl * mDepthT
Definition: Wahwah.cpp:85
void EnableApplyFromValidate()
Definition: Wahwah.cpp:101
bool ValidateUI() override
Get settings data from the panel; may make error dialogs and return false.
Definition: Wahwah.cpp:113

References EffectWahwah::Depth, EffectParameter< Structure, Member, Type, Value >::scale, and Effect::ValidateUI().

Referenced by PopulateOrExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnDepthText()

void EffectWahwah::Validator::OnDepthText ( wxCommandEvent &  evt)

Definition at line 578 of file Wahwah.cpp.

579{
580 auto& ms = mSettings;
581
583 {
584 return;
585 }
586
587 mDepthS->SetValue((int)(ms.mDepth * Depth.scale));
588 ValidateUI();
590}
bool EnableApplyFromTransferDataToWindow()
Definition: Wahwah.cpp:106
wxSlider * mDepthS
Definition: Wahwah.cpp:92

References EffectWahwah::Depth, EffectParameter< Structure, Member, Type, Value >::scale, and Effect::ValidateUI().

Referenced by PopulateOrExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnFreqOffSlider()

void EffectWahwah::Validator::OnFreqOffSlider ( wxCommandEvent &  evt)

Definition at line 526 of file Wahwah.cpp.

527{
528 auto& ms = mSettings;
529
530 ms.mFreqOfs = evt.GetInt() / FreqOfs.scale;
531 mFreqOfsT->GetValidator()->TransferToWindow();
532
534 ValidateUI();
536}
static constexpr EffectParameter FreqOfs
Definition: Wahwah.h:109
wxTextCtrl * mFreqOfsT
Definition: Wahwah.cpp:87

References EffectWahwah::FreqOfs, EffectParameter< Structure, Member, Type, Value >::scale, and Effect::ValidateUI().

Referenced by PopulateOrExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnFreqOffText()

void EffectWahwah::Validator::OnFreqOffText ( wxCommandEvent &  evt)

Definition at line 606 of file Wahwah.cpp.

607{
608 auto& ms = mSettings;
609
611 {
612 return;
613 }
614
615 mFreqOfsS->SetValue((int)(ms.mFreqOfs * FreqOfs.scale));
616 ValidateUI();
618}
wxSlider * mFreqOfsS
Definition: Wahwah.cpp:94

References EffectWahwah::FreqOfs, EffectParameter< Structure, Member, Type, Value >::scale, and Effect::ValidateUI().

Referenced by PopulateOrExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnFreqSlider()

void EffectWahwah::Validator::OnFreqSlider ( wxCommandEvent &  evt)

Definition at line 475 of file Wahwah.cpp.

476{
477 auto& ms = mSettings;
478
479 ms.mFreq = (double)evt.GetInt() / Freq.scale;
480 mFreqT->GetValidator()->TransferToWindow();
481
483 ValidateUI();
485}
static constexpr EffectParameter Freq
Definition: Wahwah.h:105
wxTextCtrl * mFreqT
Definition: Wahwah.cpp:83

References EffectWahwah::Freq, EffectParameter< Structure, Member, Type, Value >::scale, and Effect::ValidateUI().

Referenced by PopulateOrExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnFreqText()

void EffectWahwah::Validator::OnFreqText ( wxCommandEvent &  evt)

Definition at line 550 of file Wahwah.cpp.

551{
552 auto& ms = mSettings;
553
555 {
556 return;
557 }
558
559 mFreqS->SetValue((int)(ms.mFreq * Freq.scale));
560 ValidateUI();
562}

References EffectWahwah::Freq, EffectParameter< Structure, Member, Type, Value >::scale, and Effect::ValidateUI().

Referenced by PopulateOrExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnGainSlider()

void EffectWahwah::Validator::OnGainSlider ( wxCommandEvent &  evt)

Definition at line 538 of file Wahwah.cpp.

539{
540 auto& ms = mSettings;
541
542 ms.mOutGain = evt.GetInt() / OutGain.scale;
543 mOutGainT->GetValidator()->TransferToWindow();
544
546 ValidateUI();
548}
static constexpr EffectParameter OutGain
Definition: Wahwah.h:110
wxTextCtrl * mOutGainT
Definition: Wahwah.cpp:88

References EffectWahwah::OutGain, EffectParameter< Structure, Member, Type, Value >::scale, and Effect::ValidateUI().

Referenced by PopulateOrExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnGainText()

void EffectWahwah::Validator::OnGainText ( wxCommandEvent &  evt)

Definition at line 620 of file Wahwah.cpp.

621{
622 auto& ms = mSettings;
623
625 {
626 return;
627 }
628
629 mOutGainS->SetValue((int)(ms.mOutGain * OutGain.scale));
630 ValidateUI();
632}
wxSlider * mOutGainS
Definition: Wahwah.cpp:95

References EffectWahwah::OutGain, EffectParameter< Structure, Member, Type, Value >::scale, and Effect::ValidateUI().

Referenced by PopulateOrExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnPhaseSlider()

void EffectWahwah::Validator::OnPhaseSlider ( wxCommandEvent &  evt)

Definition at line 487 of file Wahwah.cpp.

488{
489 auto& ms = mSettings;
490
491 int val = ((evt.GetInt() + 5) / 10) * 10; // round to nearest multiple of 10
492 val = val > Phase.max * Phase.scale ? Phase.max * Phase.scale : val;
493 mPhaseS->SetValue(val);
494 ms.mPhase = (double)val / Phase.scale;
495 mPhaseT->GetValidator()->TransferToWindow();
496
498 ValidateUI();
500}
static constexpr EffectParameter Phase
Definition: Wahwah.h:106
const Type max
Maximum value.
Definition: Shuttle.h:31
wxSlider * mPhaseS
Definition: Wahwah.cpp:91
wxTextCtrl * mPhaseT
Definition: Wahwah.cpp:84

References EffectParameter< Structure, Member, Type, Value >::max, EffectWahwah::Phase, EffectParameter< Structure, Member, Type, Value >::scale, and Effect::ValidateUI().

Referenced by PopulateOrExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnPhaseText()

void EffectWahwah::Validator::OnPhaseText ( wxCommandEvent &  evt)

Definition at line 564 of file Wahwah.cpp.

565{
566 auto& ms = mSettings;
567
569 {
570 return;
571 }
572
573 mPhaseS->SetValue((int)(ms.mPhase * Phase.scale));
574 ValidateUI();
576}

References EffectWahwah::Phase, EffectParameter< Structure, Member, Type, Value >::scale, and Effect::ValidateUI().

Referenced by PopulateOrExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnResonanceSlider()

void EffectWahwah::Validator::OnResonanceSlider ( wxCommandEvent &  evt)

Definition at line 514 of file Wahwah.cpp.

515{
516 auto& ms = mSettings;
517
518 ms.mRes = (double)evt.GetInt() / Res.scale;
519 mResT->GetValidator()->TransferToWindow();
520
522 ValidateUI();
524}
static constexpr EffectParameter Res
Definition: Wahwah.h:108
wxTextCtrl * mResT
Definition: Wahwah.cpp:86

References EffectWahwah::Res, EffectParameter< Structure, Member, Type, Value >::scale, and Effect::ValidateUI().

Referenced by PopulateOrExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnResonanceText()

void EffectWahwah::Validator::OnResonanceText ( wxCommandEvent &  evt)

Definition at line 592 of file Wahwah.cpp.

593{
594 auto& ms = mSettings;
595
597 {
598 return;
599 }
600
601 mResS->SetValue((int)(ms.mRes * Res.scale));
602 ValidateUI();
604}

References EffectWahwah::Res, EffectParameter< Structure, Member, Type, Value >::scale, and Effect::ValidateUI().

Referenced by PopulateOrExchange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PopulateOrExchange()

void EffectWahwah::Validator::PopulateOrExchange ( ShuttleGui S)

Definition at line 275 of file Wahwah.cpp.

276{
277 mUIParent = S.GetParent();
278 auto& ms = mSettings;
279
280 S.SetBorder(5);
281 S.AddSpace(0, 5);
282
283 S.StartMultiColumn(3, wxEXPAND);
284 {
285 S.SetStretchyCol(2);
286
287 mFreqT = S
288 .Validator<FloatingPointValidator<double>>(
289 5, &ms.mFreq, NumValidatorStyle::ONE_TRAILING_ZERO, Freq.min, Freq.max)
290 .AddTextBox(XXO("LFO Freq&uency (Hz):"), L"", 12);
291 BindTo(*mFreqT, wxEVT_TEXT, &Validator::OnFreqText);
292
293 mFreqS = S
294 .Name(XO("LFO frequency in hertz"))
295 .Style(wxSL_HORIZONTAL)
296 .MinSize( { 100, -1 } )
297 .AddSlider( {}, Freq.def * Freq.scale, Freq.max * Freq.scale, Freq.min * Freq.scale);
298 BindTo(*mFreqS, wxEVT_SLIDER, &Validator::OnFreqSlider);
299
300 mPhaseT = S
301 .Validator<FloatingPointValidator<double>>(
302 1, &ms.mPhase, NumValidatorStyle::DEFAULT, Phase.min, Phase.max)
303 .AddTextBox(XXO("LFO Sta&rt Phase (deg.):"), L"", 12);
304 BindTo(*mPhaseT, wxEVT_TEXT, &Validator::OnPhaseText);
305
306 mPhaseS = S
307 .Name(XO("LFO start phase in degrees"))
308 .Style(wxSL_HORIZONTAL)
309 .MinSize( { 100, -1 } )
310 .AddSlider( {}, Phase.def * Phase.scale, Phase.max * Phase.scale, Phase.min * Phase.scale);
311 mPhaseS->SetLineSize(10);
312 BindTo(*mPhaseS, wxEVT_SLIDER, &Validator::OnPhaseSlider);
313
314 mDepthT = S
315 .Validator<IntegerValidator<int>>(
316 &ms.mDepth, NumValidatorStyle::DEFAULT, Depth.min, Depth.max)
317 .AddTextBox(XXO("Dept&h (%):"), L"", 12);
318 BindTo(*mDepthT, wxEVT_TEXT, &Validator::OnDepthText);
319
320 mDepthS = S
321 .Name(XO("Depth in percent"))
322 .Style(wxSL_HORIZONTAL)
323 .MinSize( { 100, -1 } )
324 .AddSlider( {}, Depth.def * Depth.scale, Depth.max * Depth.scale, Depth.min * Depth.scale);
325 BindTo(*mDepthS, wxEVT_SLIDER, &Validator::OnDepthSlider);
326
327 mResT = S
328 .Validator<FloatingPointValidator<double>>(
329 1, &ms.mRes, NumValidatorStyle::DEFAULT, Res.min, Res.max)
330 .AddTextBox(XXO("Reso&nance:"), L"", 12);
332
333 mResS = S
334 .Name(XO("Resonance"))
335 .Style(wxSL_HORIZONTAL)
336 .MinSize( { 100, -1 } )
337 .AddSlider( {}, Res.def * Res.scale, Res.max * Res.scale, Res.min * Res.scale);
338 BindTo(*mResS, wxEVT_SLIDER, &Validator::OnResonanceSlider);
339
340 mFreqOfsT = S
341 .Validator<IntegerValidator<int>>(
342 &ms.mFreqOfs, NumValidatorStyle::DEFAULT, FreqOfs.min, FreqOfs.max)
343 .AddTextBox(XXO("Wah Frequency Offse&t (%):"), L"", 12);
345
346 mFreqOfsS = S
347 .Name(XO("Wah frequency offset in percent"))
348 .Style(wxSL_HORIZONTAL)
349 .MinSize( { 100, -1 } )
352
353 mOutGainT = S
354 .Validator<FloatingPointValidator<double>>(
355 1, &ms.mOutGain, NumValidatorStyle::DEFAULT, OutGain.min, OutGain.max)
356 .AddTextBox(XXO("&Output gain (dB):"), L"", 12);
357 BindTo(*mOutGainT, wxEVT_TEXT, &Validator::OnGainText);
358
359 mOutGainS = S
360 .Name(XO("Output gain (dB)"))
361 .Style(wxSL_HORIZONTAL)
362 .MinSize( { 100, -1 } )
364 BindTo(*mOutGainS, wxEVT_SLIDER, &Validator::OnGainSlider);
365 }
366 S.EndMultiColumn();
367}
XO("Cut/Copy/Paste")
XXO("&Cut/Copy/Paste Toolbar")
#define S(N)
Definition: ToChars.cpp:64
void BindTo(wxEvtHandler &src, const EventTag &eventType, void(Class::*pmf)(Event &))
Definition: EffectPlugin.h:290
const Type def
Default value.
Definition: Shuttle.h:29
const Type min
Minimum value.
Definition: Shuttle.h:30
void OnFreqSlider(wxCommandEvent &evt)
Definition: Wahwah.cpp:475
void OnPhaseSlider(wxCommandEvent &evt)
Definition: Wahwah.cpp:487
void OnGainSlider(wxCommandEvent &evt)
Definition: Wahwah.cpp:538
void OnResonanceSlider(wxCommandEvent &evt)
Definition: Wahwah.cpp:514
void OnGainText(wxCommandEvent &evt)
Definition: Wahwah.cpp:620
void OnFreqText(wxCommandEvent &evt)
Definition: Wahwah.cpp:550
void OnFreqOffText(wxCommandEvent &evt)
Definition: Wahwah.cpp:606
void OnFreqOffSlider(wxCommandEvent &evt)
Definition: Wahwah.cpp:526
void OnDepthSlider(wxCommandEvent &evt)
Definition: Wahwah.cpp:502
void OnPhaseText(wxCommandEvent &evt)
Definition: Wahwah.cpp:564
void OnResonanceText(wxCommandEvent &evt)
Definition: Wahwah.cpp:592
void OnDepthText(wxCommandEvent &evt)
Definition: Wahwah.cpp:578

References EffectParameter< Structure, Member, Type, Value >::def, EffectWahwah::Depth, EffectWahwah::Freq, EffectWahwah::FreqOfs, EffectParameter< Structure, Member, Type, Value >::max, EffectParameter< Structure, Member, Type, Value >::min, Effect::mUIParent, OnDepthSlider(), OnDepthText(), OnFreqOffSlider(), OnFreqOffText(), OnFreqSlider(), OnFreqText(), OnGainSlider(), OnGainText(), OnPhaseSlider(), OnPhaseText(), OnResonanceSlider(), OnResonanceText(), EffectWahwah::OutGain, EffectWahwah::Phase, EffectWahwah::Res, S, EffectParameter< Structure, Member, Type, Value >::scale, XO(), and XXO().

Here is the call graph for this function:

◆ UpdateUI()

bool EffectWahwah::Validator::UpdateUI ( )
overridevirtual

Update appearance of the panel for changes in settings.

Default implementation does nothing, returns true

Returns
true if successful

Reimplemented from EffectUIValidator.

Definition at line 369 of file Wahwah.cpp.

370{
371 // get the settings from the MessageBuffer and write them to our local copy
372 const auto& settings = mAccess.Get();
373
375
376 auto& ms = mSettings;
377
378 mFreqS->SetValue((int)(ms.mFreq * Freq.scale));
379 mPhaseS->SetValue((int)(ms.mPhase * Phase.scale));
380 mDepthS->SetValue((int)(ms.mDepth * Depth.scale));
381 mResS->SetValue((int)(ms.mRes * Res.scale));
382 mFreqOfsS->SetValue((int)(ms.mFreqOfs * FreqOfs.scale));
383 mOutGainS->SetValue((int)(ms.mOutGain * OutGain.scale));
384
385 return true;
386}
virtual const EffectSettings & Get()=0
EffectSettingsAccess & mAccess
Definition: EffectPlugin.h:297
static EffectWahwahSettings & GetSettings(EffectSettings &settings)
Assume settings originated from MakeSettings() and copies thereof.
Definition: Effect.h:262

References EffectWahwah::Depth, EffectWahwah::Freq, EffectWahwah::FreqOfs, EffectWithSettings< EffectWahwahSettings, PerTrackEffect >::GetSettings(), EffectWahwah::OutGain, EffectWahwah::Phase, EffectWahwah::Res, EffectParameter< Structure, Member, Type, Value >::scale, and settings().

Here is the call graph for this function:

◆ ValidateUI()

bool EffectWahwah::Validator::ValidateUI ( )
overridevirtual

Get settings data from the panel; may make error dialogs and return false.

Returns
true only if panel settings are acceptable

Implements EffectUIValidator.

Definition at line 113 of file Wahwah.cpp.

114{
116 (
117 [this](EffectSettings& settings)
118 {
119 // pass back the modified settings to the MessageBuffer
121 return nullptr;
122 }
123 );
124
125 return true;
126}
void ModifySettings(Function &&function)
Do a correct read-modify-write of settings.
Externalized state of a plug-in.

References EffectWithSettings< EffectWahwahSettings, PerTrackEffect >::GetSettings(), EffectUIValidator::mAccess, EffectSettingsAccess::ModifySettings(), mSettings, and settings().

Here is the call graph for this function:

Member Data Documentation

◆ mDepthS

wxSlider* EffectWahwah::Validator::mDepthS

Definition at line 92 of file Wahwah.cpp.

◆ mDepthT

wxTextCtrl* EffectWahwah::Validator::mDepthT

Definition at line 85 of file Wahwah.cpp.

◆ mFreqOfsS

wxSlider* EffectWahwah::Validator::mFreqOfsS

Definition at line 94 of file Wahwah.cpp.

◆ mFreqOfsT

wxTextCtrl* EffectWahwah::Validator::mFreqOfsT

Definition at line 87 of file Wahwah.cpp.

◆ mFreqS

wxSlider* EffectWahwah::Validator::mFreqS

Definition at line 90 of file Wahwah.cpp.

◆ mFreqT

wxTextCtrl* EffectWahwah::Validator::mFreqT

Definition at line 83 of file Wahwah.cpp.

◆ mOutGainS

wxSlider* EffectWahwah::Validator::mOutGainS

Definition at line 95 of file Wahwah.cpp.

◆ mOutGainT

wxTextCtrl* EffectWahwah::Validator::mOutGainT

Definition at line 88 of file Wahwah.cpp.

◆ mPhaseS

wxSlider* EffectWahwah::Validator::mPhaseS

Definition at line 91 of file Wahwah.cpp.

◆ mPhaseT

wxTextCtrl* EffectWahwah::Validator::mPhaseT

Definition at line 84 of file Wahwah.cpp.

◆ mResS

wxSlider* EffectWahwah::Validator::mResS

Definition at line 93 of file Wahwah.cpp.

◆ mResT

wxTextCtrl* EffectWahwah::Validator::mResT

Definition at line 86 of file Wahwah.cpp.

◆ mSettings

EffectWahwahSettings EffectWahwah::Validator::mSettings

Definition at line 99 of file Wahwah.cpp.

Referenced by ValidateUI().

◆ mUIParent

wxWeakRef<wxWindow> EffectWahwah::Validator::mUIParent

Definition at line 98 of file Wahwah.cpp.

Referenced by EnableApplyFromTransferDataToWindow(), and EnableApplyFromValidate().


The documentation for this struct was generated from the following file: