| 58 | { return VisitSettings<true>(S); } |
| 59 | |
| 60 | void SetLabelCommand::PopulateOrExchange(ShuttleGui & S) |
| 61 | { |
| 62 | S.AddSpace(0, 5); |
| 63 | |
| 64 | S.StartMultiColumn(2, wxALIGN_CENTER); |
| 65 | { |
| 66 | S.TieNumericTextBox( XXO("Label Index"), mLabelIndex ); |
| 67 | } |
| 68 | S.EndMultiColumn(); |
| 69 | S.StartMultiColumn(3, wxALIGN_CENTER); |
| 70 | { |
| 71 | S.Optional( bHasText ).TieTextBox( XXO("Text:"), mText ); |
| 72 | S.Optional( bHasT0 ).TieNumericTextBox( XXO("Start:"), mT0 ); |
| 73 | S.Optional( bHasT1 ).TieNumericTextBox( XXO("End:"), mT1 ); |
| 74 | S.Optional( bHasSelected ).TieCheckBox( XXO("Selected"), mbSelected ); |
| 75 | } |
| 76 | S.EndMultiColumn(); |
| 77 | } |
| 78 | |
| 79 | bool SetLabelCommand::Apply(const CommandContext & context) |
| 80 | { |
nothing calls this directly
no test coverage detected