mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
make AxisView::marked_for_display() be virtual so we can use the a Stripable's PresentationInfo hidden() status
This commit is contained in:
parent
d58cb3daa3
commit
171b70927a
6 changed files with 40 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue