diff options
author | Carl Hetherington <carl@carlh.net> | 2010-09-09 21:35:28 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-09-09 21:35:28 +0000 |
commit | 86244875a40206694c142af8fe1128f28293c467 (patch) | |
tree | 7a643215fa39e9538fff5fc282139866c44fe529 /gtk2_ardour/automation_line.h | |
parent | 5f27e70016a88cbb9a77275ce3e5798540f9bbdf (diff) |
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
Diffstat (limited to 'gtk2_ardour/automation_line.h')
-rw-r--r-- | gtk2_ardour/automation_line.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index ec6034ccf2..fdace9a6e6 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -138,6 +138,8 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible return _time_converter; } + std::pair<ARDOUR::framepos_t, ARDOUR::framepos_t> get_point_x_range () const; + void set_maximum_time (ARDOUR::framepos_t); ARDOUR::framepos_t maximum_time () const { return _maximum_time; |