From 86244875a40206694c142af8fe1128f28293c467 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 9 Sep 2010 21:35:28 +0000 Subject: Allow drags of automation in time ranges where the automation is on a MIDI track and may span different regions. Fixes #3366. git-svn-id: svn://localhost/ardour2/branches/3.0@7765 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_drag.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/editor_drag.h') diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 6b4420715f..80ffbb927c 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -826,7 +826,17 @@ public: private: std::list _ranges; AutomationTimeAxisView* _atav; - boost::shared_ptr _line; + + /** A line that is part of the drag */ + struct Line { + boost::shared_ptr line; ///< the line + std::list points; ///< points to drag on the line + std::pair range; ///< the range of all points on the line, in session frames + XMLNode* state; ///< the XML state node before the drag + }; + + std::list _lines; + bool _nothing_to_drag; }; -- cgit v1.2.3