summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_selectable.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-01-05 02:22:58 +0000
committerCarl Hetherington <carl@carlh.net>2010-01-05 02:22:58 +0000
commit5f8f48117298231b053e62b9940ce753e0235906 (patch)
treeda0716c4b7a81ce03568bff1175ef79a23a59f8c /gtk2_ardour/automation_selectable.h
parent14e32ba0758c776b2660f8b86a9192cddaa3de99 (diff)
Fixes to permit drags of multiply-selected automation control points.
git-svn-id: svn://localhost/ardour2/branches/3.0@6450 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_selectable.h')
-rw-r--r--gtk2_ardour/automation_selectable.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_selectable.h b/gtk2_ardour/automation_selectable.h
index 92e73a3c33..7104f6adf4 100644
--- a/gtk2_ardour/automation_selectable.h
+++ b/gtk2_ardour/automation_selectable.h
@@ -25,6 +25,12 @@
class TimeAxisView;
+/** A selected automation point, expressed as a rectangle on a track (so that x coordinates
+ * are frames and y coordinates are a fraction of track height). This representation falls
+ * between the visible GUI control points and the back-end "actual" automation points,
+ * some of which may not be visible; it is not trivial to convert from one of these to the other,
+ * so the AutomationSelectable is a kind of "best and worst of both worlds".
+ */
struct AutomationSelectable : public Selectable
{
nframes_t start;