MCPcopy Create free account
hub / github.com/audacity/audacity / PopulateOrExchange

Method PopulateOrExchange

src/effects/Echo.cpp:68–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68void EffectEcho::Editor::PopulateOrExchange(ShuttleGui & S)
69{
70 auto& echoSettings = mSettings;
71
72 S.AddSpace(0, 5);
73
74 S.StartMultiColumn(2, wxALIGN_CENTER);
75 {
76 S.Validator<FloatingPointValidator<double>>(
77 3, &echoSettings.delay, NumValidatorStyle::NO_TRAILING_ZEROES,
78 Delay.min, Delay.max )
79 .AddTextBox(XXO("&Delay time (seconds):"), L"", 10);
80
81 S.Validator<FloatingPointValidator<double>>(
82 3, &echoSettings.decay, NumValidatorStyle::NO_TRAILING_ZEROES,
83 Decay.min, Decay.max)
84 .AddTextBox(XXO("D&ecay factor:"), L"", 10);
85 }
86 S.EndMultiColumn();
87}
88
89
90bool EffectEcho::Editor::ValidateUI()

Callers 2

MakeEditorMethod · 0.45
MakeEditorFunction · 0.45

Calls 1

AddTextBoxMethod · 0.80

Tested by

no test coverage detected