use pane position mgmt on appropriate panes
[ardour.git] / gtk2_ardour / vca_time_axis.cc
index 3bbb4a5f4c0244ba6c7138ea4a933ba225b1f07c..0c77fd66f844fbdd103a980fb1d8930a61a8a750 100644 (file)
@@ -304,3 +304,19 @@ VCATimeAxisView::set_height (uint32_t h, TrackHeightMode m)
        set_gui_property ("height", h);
        _vca->gui_changed ("track_height", (void*) 0); /* EMIT SIGNAL */
 }
+
+bool
+VCATimeAxisView::marked_for_display () const
+{
+       return !_vca->presentation_info().hidden();
+}
+
+bool
+VCATimeAxisView::set_marked_for_display (bool yn)
+{
+       if (yn == _vca->presentation_info().hidden()) {
+               _vca->presentation_info().set_hidden (!yn);
+               return true; // things changed
+       }
+       return false;
+}