summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 1586a71c97..faf5712905 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -342,6 +342,15 @@ RouteTimeAxisView::~RouteTimeAxisView ()
CatchDeletion (this);
}
+string
+RouteTimeAxisView::name() const
+{
+ if (_route) {
+ return _route->name();
+ }
+ return string();
+}
+
void
RouteTimeAxisView::post_construct ()
{
@@ -2932,6 +2941,12 @@ RouteTimeAxisView::stripable () const
return _route;
}
+Gdk::Color
+RouteTimeAxisView::color () const
+{
+ return route_color ();
+}
+
bool
RouteTimeAxisView::marked_for_display () const
{