diff options
author | Carl Hetherington <carl@carlh.net> | 2012-04-22 14:03:07 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-04-22 14:03:07 +0000 |
commit | a4434809e147d7f091fd488d047c531ff4c344c9 (patch) | |
tree | 2ffc14ef55a0ca310b4f772bcb87d662084a752c /gtk2_ardour/automation_time_axis.h | |
parent | 82c867bf2a6f4de102707b812a87d68e3bd6e170 (diff) |
Use a list of ControlPoints to hold the automation selection,
rather than a time range. This makes more sense now that we
display every point on an automation line, rather than just
a subset. Makes the code a fair bit simpler, and should fix
some unexpected behaviours, especially when cutting automation
points.
git-svn-id: svn://localhost/ardour2/branches/3.0@12054 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_time_axis.h')
-rw-r--r-- | gtk2_ardour/automation_time_axis.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk2_ardour/automation_time_axis.h b/gtk2_ardour/automation_time_axis.h index 7706ed7ee3..913cd1b467 100644 --- a/gtk2_ardour/automation_time_axis.h +++ b/gtk2_ardour/automation_time_axis.h @@ -91,10 +91,7 @@ class AutomationTimeAxisView : public TimeAxisView { /* editing operations */ - void cut_copy_clear (Selection&, Editing::CutCopyOp); - void cut_copy_clear_objects (PointSelection&, Editing::CutCopyOp); bool paste (ARDOUR::framepos_t, float times, Selection&, size_t nth); - void reset_objects (PointSelection&); int set_state (const XMLNode&, int version); @@ -169,10 +166,7 @@ class AutomationTimeAxisView : public TimeAxisView { void build_display_menu (); - void cut_copy_clear_one (AutomationLine&, Selection&, Editing::CutCopyOp); - void cut_copy_clear_objects_one (AutomationLine&, PointSelection&, Editing::CutCopyOp); bool paste_one (AutomationLine&, ARDOUR::framepos_t, float times, Selection&, size_t nth); - void reset_objects_one (AutomationLine&, PointSelection&); void route_going_away (); void set_automation_state (ARDOUR::AutoState); |