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

Method PopulateOrExchange

src/commands/SelectCommand.cpp:87–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 { return VisitSettings<true>(S); }
86
87void SelectTimeCommand::PopulateOrExchange(ShuttleGui & S)
88{
89 S.AddSpace(0, 5);
90
91 S.StartMultiColumn(3, wxEXPAND);
92 {
93 S.SetStretchyCol( 2 );
94 S.Optional( bHasT0 ).TieTextBox(XXO("Start Time:"), mT0);
95 S.Optional( bHasT1 ).TieTextBox(XXO("End Time:"), mT1);
96 // Chooses what time is relative to.
97 S.Optional( bHasRelativeSpec ).TieChoice(
98 XXO("Relative To:"),
99 mRelativeTo, Msgids( kRelativeTo, nRelativeTos ));
100 }
101 S.EndMultiColumn();
102}
103
104bool SelectTimeCommand::Apply(const CommandContext & context){
105 // Many commands need focus on track panel.

Callers

nothing calls this directly

Calls 5

MsgidsFunction · 0.85
SetStretchyColMethod · 0.80
TieTextBoxMethod · 0.80
OptionalMethod · 0.80
TieChoiceMethod · 0.80

Tested by

no test coverage detected