From a4434809e147d7f091fd488d047c531ff4c344c9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 22 Apr 2012 14:03:07 +0000 Subject: 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 --- gtk2_ardour/control_point.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour/control_point.h') diff --git a/gtk2_ardour/control_point.h b/gtk2_ardour/control_point.h index 603d062ec4..0c2bf1e01d 100644 --- a/gtk2_ardour/control_point.h +++ b/gtk2_ardour/control_point.h @@ -83,6 +83,8 @@ class ControlPoint : public Selectable ARDOUR::AutomationList::iterator model() const { return _model; } AutomationLine& line() const { return _line; } + static PBD::Signal1 CatchDeletion; + private: ArdourCanvas::SimpleRect* _item; AutomationLine& _line; -- cgit v1.2.3