use running_from_source_tree()
[ardour.git] / gtk2_ardour / automation_time_axis.cc
index 263073fc3b8ccdba52ee2e8197f167be88338715..564443a7f3e9be81d13eb7f116d63ed9e9a3e938 100644 (file)
@@ -84,7 +84,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (
        const string & nom,
        const string & nomparent
        )
-       : AxisView (s)
+       : SessionHandlePtr (s)
        , TimeAxisView (s, e, &parent, canvas)
        , _route (r)
        , _control (c)
@@ -1044,3 +1044,15 @@ AutomationTimeAxisView::presentation_info () const
 {
        return _route->presentation_info();
 }
+
+boost::shared_ptr<Stripable>
+AutomationTimeAxisView::stripable () const
+{
+       return _route;
+}
+
+Gdk::Color
+AutomationTimeAxisView::color () const
+{
+       return gdk_color_from_rgb (_route->presentation_info().color());
+}