diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-10 15:44:56 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-10 15:44:56 +0000 |
commit | e89bdcd9ebb774294119cf349b3faaf0fa9ffd1f (patch) | |
tree | 90d75964e9fcdb2346737ca90da56d987a684a55 /gtk2_ardour/editor_drag.h | |
parent | cf49671ab462926139e8b9f5d9a98453d03b3827 (diff) |
provide some numerical data during automation trim (range) drags, and correct computation of y-fraction for such drags
git-svn-id: svn://localhost/ardour2/branches/3.0@13011 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 1579a178a8..6127355965 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -966,10 +966,11 @@ private: std::list<ControlPoint*> points; ///< points to drag on the line std::pair<ARDOUR::framepos_t, ARDOUR::framepos_t> range; ///< the range of all points on the line, in session frames XMLNode* state; ///< the XML state node before the drag + double original_fraction; ///< initial y-fraction before the drag }; std::list<Line> _lines; - + TimeAxisView* track_view; bool _nothing_to_drag; }; |