| 1165 | }; |
| 1166 | |
| 1167 | auto ExtraSeekMenu() |
| 1168 | { |
| 1169 | static auto menu = std::shared_ptr{ |
| 1170 | ( FinderScope{ findCommandHandler }, |
| 1171 | Menu( wxT("Seek"), XXO("See&k"), |
| 1172 | Command( wxT("SeekLeftShort"), XXO("Short Seek &Left During Playback"), |
| 1173 | FN(OnSeekLeftShort), AudioIOBusyFlag(), |
| 1174 | Options{ wxT("Left") }.AllowDup() ), |
| 1175 | Command( wxT("SeekRightShort"), |
| 1176 | XXO("Short Seek &Right During Playback"), FN(OnSeekRightShort), |
| 1177 | AudioIOBusyFlag(), |
| 1178 | Options{ wxT("Right") }.AllowDup() ), |
| 1179 | Command( wxT("SeekLeftLong"), XXO("Long Seek Le&ft During Playback"), |
| 1180 | FN(OnSeekLeftLong), AudioIOBusyFlag(), |
| 1181 | Options{ wxT("Shift+Left") }.AllowDup() ), |
| 1182 | Command( wxT("SeekRightLong"), XXO("Long Seek Rig&ht During Playback"), |
| 1183 | FN(OnSeekRightLong), AudioIOBusyFlag(), |
| 1184 | Options{ wxT("Shift+Right") }.AllowDup() ) |
| 1185 | ) ) }; |
| 1186 | return menu; |
| 1187 | } |
| 1188 | |
| 1189 | AttachedItem sAttachment5{ Indirect(ExtraSeekMenu()), |
| 1190 | wxT("Optional/Extra/Part1") |