diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 0eb5d79826..4bc28d2557 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -7242,3 +7242,38 @@ LollipopDrag::setup_pointer_sample_offset () _pointer_offset = _region->parent_rv.region()->source_beats_to_absolute_time (note->note()->time ()).distance (raw_grab_time ()); } +AutomationDrawDrag::AutomationDrawDrag (Editor* editor, ArdourCanvas::Item* i, Temporal::TimeDomain time_domain) + : Drag (editor, i, time_domain) +{ +} + +AutomationDrawDrag::~AutomationDrawDrag () +{ +} + +void +AutomationDrawDrag::start_grab (GdkEvent*, Gdk::Cursor* c) +{ +} + +void +AutomationDrawDrag::motion (GdkEvent*, bool) +{ +} + +void +AutomationDrawDrag::finished (GdkEvent*, bool) +{ +} + +void +AutomationDrawDrag::aborted (bool) +{ +} + + +void +AutomationDrawDrag::setup_pointer_sample_offset () +{ +} + diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index e0327444dd..a2682826eb 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -1579,4 +1579,18 @@ class LollipopDrag : public Drag ArdourCanvas::Lollipop* _primary; }; +class AutomationDrawDrag : public Drag +{ + public: + AutomationDrawDrag (Editor*, ArdourCanvas::Item*, Temporal::TimeDomain); + ~AutomationDrawDrag (); + + void start_grab (GdkEvent *, Gdk::Cursor* c = 0); + void motion (GdkEvent*, bool); + void finished (GdkEvent*, bool); + void aborted (bool); + + void setup_pointer_sample_offset (); +}; + #endif /* __gtk2_ardour_editor_drag_h_ */