diff options
author | Carl Hetherington <carl@carlh.net> | 2010-05-25 15:51:32 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-05-25 15:51:32 +0000 |
commit | a57b9cdd99b47fde8bfa265c0f72a380bb5cbb6f (patch) | |
tree | f7b4fe20b24ab41c0cccaff32c7173e1e14f605f /gtk2_ardour/automation_time_axis.h | |
parent | ef94fbf11ca36fc088e58cfa5691cbca7c7a3390 (diff) |
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
Diffstat (limited to 'gtk2_ardour/automation_time_axis.h')
-rw-r--r-- | gtk2_ardour/automation_time_axis.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<ARDOUR::Route> _route; ///< Parent route boost::shared_ptr<ARDOUR::AutomationControl> _control; ///< Control |