infrastructure and implementation to allow "q" to drive quantize-selected-notes in midi edit mode

This commit is contained in:
Paul Davis 2022-08-31 13:53:55 -06:00
parent 02b05f295a
commit d2fc142e21
9 changed files with 91 additions and 14 deletions

View file

@ -72,6 +72,7 @@ namespace ARDOUR {
class Trimmable;
class Movable;
class Stripable;
class MidiOperator;
}
namespace Gtk {
@ -554,6 +555,9 @@ public:
virtual void queue_redisplay_track_views () = 0;
virtual ARDOUR::Quantize get_quantize_op (bool force_dialog, bool& did_show_dialog) = 0;
virtual void apply_midi_note_edit_op (ARDOUR::MidiOperator& op, const RegionSelection& rs) = 0;
/// Singleton instance, set up by Editor::Editor()
static PublicEditor* _instance;