| 78 | { return VisitSettings<true>(S); } |
| 79 | |
| 80 | void DragCommand::PopulateOrExchange(ShuttleGui & S) |
| 81 | { |
| 82 | S.AddSpace(0, 5); |
| 83 | |
| 84 | S.StartMultiColumn(3, wxALIGN_CENTER); |
| 85 | { |
| 86 | /* i18n-hint abbreviates "Identity" or "Identifier" */ |
| 87 | S.Optional( bHasId ).TieNumericTextBox( XXO("Id:"), mId ); |
| 88 | S.Optional( bHasWinName ).TieTextBox( XXO("Window Name:"), mWinName ); |
| 89 | S.Optional( bHasFromX ).TieNumericTextBox( XXO("From X:"), mFromX ); |
| 90 | S.Optional( bHasFromY ).TieNumericTextBox( XXO("From Y:"), mFromY ); |
| 91 | S.Optional( bHasToX ).TieNumericTextBox( XXO("To X:"), mToX ); |
| 92 | S.Optional( bHasToY ).TieNumericTextBox( XXO("To Y:"), mToY ); |
| 93 | S.Optional( bHasRelativeTo ).TieChoice( XXO("Relative To:"), mRelativeTo, |
| 94 | Msgids( kCoordTypeStrings, nCoordTypes ) ); |
| 95 | } |
| 96 | S.EndMultiColumn(); |
| 97 | } |
| 98 | |
| 99 | bool DragCommand::Apply(const CommandContext & context) |
| 100 | { |
nothing calls this directly
no test coverage detected