| 61 | { return VisitSettings<true>(S); } |
| 62 | |
| 63 | void SetProjectCommand::PopulateOrExchange(ShuttleGui & S) |
| 64 | { |
| 65 | S.AddSpace(0, 5); |
| 66 | S.StartMultiColumn(3, wxALIGN_CENTER); |
| 67 | { |
| 68 | S.Optional( bHasName ).TieTextBox( XXO("Name:"), mName ); |
| 69 | S.Optional( bHasRate ).TieTextBox( XXO("Rate:"), mRate ); |
| 70 | S.TieCheckBox( XXO("Resize:"), bHasSizing ); |
| 71 | S.AddSpace(0,0); |
| 72 | } |
| 73 | S.EndMultiColumn(); |
| 74 | S.StartMultiColumn(2, wxALIGN_CENTER); |
| 75 | { |
| 76 | S.TieNumericTextBox( XXO("X:"), mPosX ); |
| 77 | S.TieNumericTextBox( XXO("Y:"), mPosY ); |
| 78 | S.TieNumericTextBox( XXO("Width:"), mWidth ); |
| 79 | S.TieNumericTextBox( XXO("Height:"), mHeight ); |
| 80 | } |
| 81 | S.EndMultiColumn(); |
| 82 | } |
| 83 | |
| 84 | bool SetProjectCommand::Apply(const CommandContext & context) |
| 85 | { |
nothing calls this directly
no test coverage detected