mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
more canvas refactoring.
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it could theoretically be used by any derived type.
This commit is contained in:
parent
f0933bf005
commit
6a5d805b38
60 changed files with 250 additions and 325 deletions
|
|
@ -52,9 +52,9 @@ using namespace ARDOUR;
|
|||
using namespace PBD;
|
||||
using namespace Editing;
|
||||
|
||||
StreamView::StreamView (RouteTimeAxisView& tv, ArdourCanvas::Layout* canvas_group)
|
||||
StreamView::StreamView (RouteTimeAxisView& tv, ArdourCanvas::Container* canvas_group)
|
||||
: _trackview (tv)
|
||||
, _canvas_group (canvas_group ? canvas_group : new ArdourCanvas::Layout (_trackview.canvas_display()))
|
||||
, _canvas_group (canvas_group ? canvas_group : new ArdourCanvas::Container (_trackview.canvas_display()))
|
||||
, _samples_per_pixel (_trackview.editor().get_current_zoom ())
|
||||
, rec_updating(false)
|
||||
, rec_active(false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue