From aff595c739b825a5f7d4302a48e6597eb30fef5f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 25 Feb 2014 21:53:04 -0500 Subject: add ::covered_by_y_range() to TimeAxisView --- gtk2_ardour/time_axis_view.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/time_axis_view.h') diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h index a22ba94439..38626a080d 100644 --- a/gtk2_ardour/time_axis_view.h +++ b/gtk2_ardour/time_axis_view.h @@ -144,7 +144,8 @@ class TimeAxisView : public virtual AxisView virtual void reset_visual_state (); - std::pair covers_y_position (double); + std::pair covers_y_position (double) const; + bool covered_by_y_range (double y0, double y1) const; virtual void step_height (bool); -- cgit v1.2.3