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

Method PopulateOrExchange

src/commands/SetEnvelopeCommand.cpp:59–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 { return VisitSettings<true>(S); }
58
59void SetEnvelopeCommand::PopulateOrExchange(ShuttleGui & S)
60{
61 S.AddSpace(0, 5);
62
63 S.StartMultiColumn(3, wxALIGN_CENTER);
64 {
65 S.Optional( bHasT ).TieNumericTextBox( XXO("Time:"), mT );
66 S.Optional( bHasV ).TieNumericTextBox( XXO("Value:"), mV );
67 S.Optional( bHasDelete ).TieCheckBox( XXO("Delete"), mbDelete );
68 }
69 S.EndMultiColumn();
70}
71
72bool SetEnvelopeCommand::ApplyInner(const CommandContext &context, Track &t)
73{

Callers

nothing calls this directly

Calls 3

TieNumericTextBoxMethod · 0.80
OptionalMethod · 0.80
TieCheckBoxMethod · 0.80

Tested by

no test coverage detected