diff options
author | David Robillard <d@drobilla.net> | 2007-09-11 03:14:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-11 03:14:32 +0000 |
commit | 4cd6ef8b5c7299db4f042de725285ea2db3d852d (patch) | |
tree | 0829594f982d5e5bba38574511d8579467417e69 /gtk2_ardour/automation_region_view.h | |
parent | a7fb6f897f53e4bec037abfac6ff2d0a9436f7f8 (diff) |
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
Diffstat (limited to 'gtk2_ardour/automation_region_view.h')
-rw-r--r-- | gtk2_ardour/automation_region_view.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<AutomationTimeAxisView*>(&trackview); } - AutomationLine& line() { return _line; } + boost::shared_ptr<AutomationLine> 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<AutomationLine> _line; }; #endif /* __gtk_ardour_automation_region_view_h__ */ |