diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 15:19:54 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 16:33:01 -0400 |
commit | 171b70927a55e8e8081e41595830970cf7e3fad6 (patch) | |
tree | 31e3554e883bb6417185187afa1b04f6f89f14ce /gtk2_ardour/route_time_axis.cc | |
parent | d58cb3daa3f0e091a11e3846b28e83bcf0f93587 (diff) |
make AxisView::marked_for_display() be virtual so we can use the a Stripable's PresentationInfo hidden() status
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 78a77fe727..1586a71c97 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -2931,3 +2931,15 @@ RouteTimeAxisView::stripable () const { return _route; } + +bool +RouteTimeAxisView::marked_for_display () const +{ + return !_route->presentation_info().hidden(); +} + +bool +RouteTimeAxisView::set_marked_for_display (bool yn) +{ + return RouteUI::mark_hidden (!yn); +} |