| 43 | |
| 44 | template<bool Const> |
| 45 | bool SetLabelCommand::VisitSettings( SettingsVisitorBase<Const> & S ){ |
| 46 | S.Define( mLabelIndex, wxT("Label"), 0, 0, 10000 ); |
| 47 | S.OptionalY( bHasText ).Define( mText, wxT("Text"), wxString{"empty"} ); |
| 48 | S.OptionalY( bHasT0 ).Define( mT0, wxT("Start"), 0.0, 0.0, 100000.0); |
| 49 | S.OptionalY( bHasT1 ).Define( mT1, wxT("End"), 0.0, 0.0, 100000.0); |
| 50 | S.OptionalN( bHasSelected ).Define( mbSelected, wxT("Selected"), false ); |
| 51 | return true; |
| 52 | }; |
| 53 | |
| 54 | bool SetLabelCommand::VisitSettings( SettingsVisitor & S ) |
| 55 | { return VisitSettings<false>(S); } |