summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-12-19 15:42:42 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-12-19 15:42:42 +0000
commit434f3e6296f3b31bd6cca588f97f14c94c3af119 (patch)
tree47b5d7db960cbb0c0948a6cf36bed48f5baad266 /gtk2_ardour/time_axis_view.h
parent8adae13ad3615c0e63129fa96d72102dae91b882 (diff)
make shift-scrollwheel work in any TimeAxisView
git-svn-id: svn://localhost/ardour2/trunk@1230 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view.h')
-rw-r--r--gtk2_ardour/time_axis_view.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h
index 0700954a54..31a6e07a80 100644
--- a/gtk2_ardour/time_axis_view.h
+++ b/gtk2_ardour/time_axis_view.h
@@ -160,6 +160,14 @@ class TimeAxisView : public virtual AxisView
void reset_height();
/**
+ * Returns a TimeAxisView* if this object covers y, or one of its children does.
+ * If the covering object is a child axis, then the child is returned.
+ * Returns 0 otherwise.
+ */
+
+ TimeAxisView* covers_y_position (double y);
+
+ /**
* Steps through the defined heights for this TrackView.
* Sets bigger to true to step up in size, set to fals eot step smaller.
*