allow dragging in MIDI automation line in cue editor

Note: once this is cleaned up and checked with respect to snap and more,
the same should be done for MidiRegionView
This commit is contained in:
Paul Davis 2024-10-07 16:28:54 -06:00
parent 4b8c51574d
commit b8fb779fa7
10 changed files with 87 additions and 66 deletions

View file

@ -57,12 +57,14 @@ class MidiCueView : public MidiView
ArdourCanvas::Item* drag_group() const;
std::list<SelectableOwner*> selectable_owners();
MergeableLine* make_merger ();
protected:
bool scroll (GdkEventScroll* ev);
ArdourCanvas::Rectangle* automation_group;
MidiCueAutomationLine* automation_line;
std::shared_ptr<MidiCueAutomationLine> automation_line;
std::shared_ptr<ARDOUR::AutomationControl> automation_control;
ArdourCanvas::Rectangle* velocity_base;
VelocityDisplay* velocity_display;