summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-05 15:19:54 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-05 16:33:01 -0400
commit171b70927a55e8e8081e41595830970cf7e3fad6 (patch)
tree31e3554e883bb6417185187afa1b04f6f89f14ce /gtk2_ardour/route_ui.cc
parentd58cb3daa3f0e091a11e3846b28e83bcf0f93587 (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_ui.cc')
-rw-r--r--gtk2_ardour/route_ui.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index 074f35a08d..57d1aeaeea 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -2356,3 +2356,13 @@ RouteUI::manage_pins ()
proxy->present();
}
}
+
+bool
+RouteUI::mark_hidden (bool yn)
+{
+ if (yn != _route->presentation_info().hidden()) {
+ _route->presentation_info().set_hidden (yn);
+ return true; // things changed
+ }
+ return false;
+}