diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-18 02:20:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-18 02:20:15 +0000 |
commit | 579fcb70e2b3b0a1ef2af9fc88edebff6d7e6dd3 (patch) | |
tree | b03f1c1b9a12e5e76aaf23b8ed6ad04cf663633f /gtk2_ardour/automation_time_axis.h | |
parent | 8d8bc9baca511399f89c0f4b0657b2d2f957824c (diff) |
First go at saving window visibility and position state across saves.
git-svn-id: svn://localhost/ardour2/branches/3.0@7644 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_time_axis.h')
-rw-r--r-- | gtk2_ardour/automation_time_axis.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_time_axis.h b/gtk2_ardour/automation_time_axis.h index 8daccf97eb..c4132269f1 100644 --- a/gtk2_ardour/automation_time_axis.h +++ b/gtk2_ardour/automation_time_axis.h @@ -107,6 +107,10 @@ class AutomationTimeAxisView : public TimeAxisView { bool has_automation () const; + boost::shared_ptr<ARDOUR::Route> parent_route () { + return _route; + } + protected: boost::shared_ptr<ARDOUR::Route> _route; ///< Parent route boost::shared_ptr<ARDOUR::AutomationControl> _control; ///< Control |