From 4cd6ef8b5c7299db4f042de725285ea2db3d852d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 11 Sep 2007 03:14:32 +0000 Subject: Always show CC region, whether empty or not (ie whether MidiModel contains any events for that CC or not). Can't add events though... yet.... git-svn-id: svn://localhost/ardour2/trunk@2451 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/automation_region_view.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/automation_region_view.h') diff --git a/gtk2_ardour/automation_region_view.h b/gtk2_ardour/automation_region_view.h index 79ba84b2ef..dc0cc8f9ee 100644 --- a/gtk2_ardour/automation_region_view.h +++ b/gtk2_ardour/automation_region_view.h @@ -52,7 +52,7 @@ public: inline AutomationTimeAxisView* automation_view() const { return dynamic_cast(&trackview); } - AutomationLine& line() { return _line; } + boost::shared_ptr line() { return _line; } // We are a ghost. Meta ghosts? Crazy talk. virtual GhostRegion* add_ghost(AutomationTimeAxisView&) { return NULL; } @@ -69,7 +69,7 @@ protected: void exited(); private: - AutomationLine _line; + boost::shared_ptr _line; }; #endif /* __gtk_ardour_automation_region_view_h__ */ -- cgit v1.2.3