From a57b9cdd99b47fde8bfa265c0f72a380bb5cbb6f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 25 May 2010 15:51:32 +0000 Subject: Allow region-based automation axes to report whether they have automation data or not. Should fix #3177. git-svn-id: svn://localhost/ardour2/branches/3.0@7158 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/automation_time_axis.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour/automation_time_axis.h') diff --git a/gtk2_ardour/automation_time_axis.h b/gtk2_ardour/automation_time_axis.h index 195511d333..9d4802f6fc 100644 --- a/gtk2_ardour/automation_time_axis.h +++ b/gtk2_ardour/automation_time_axis.h @@ -105,6 +105,8 @@ class AutomationTimeAxisView : public TimeAxisView { return _base_rect; } + bool has_automation () const; + protected: boost::shared_ptr _route; ///< Parent route boost::shared_ptr _control; ///< Control -- cgit v1.2.3