1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Move drawing code for tracks, free EnvelopeEditor from cycles

This commit is contained in:
Paul Licameli
2019-06-21 11:13:29 -04:00
parent ec69a58e0a
commit b881a6e918
13 changed files with 2531 additions and 2594 deletions

View File

@@ -106,7 +106,7 @@ bool AudacityPrintout::OnPrintPage(int WXUNUSED(page))
TrackPanelDrawingContext context{
*dc, {}, {}, &artist
};
TrackArt::DrawTrack( context, n, r );
TrackView::Get( *n ).Draw( context, r, TrackArtist::PassTracks );
dc->SetPen(*wxBLACK_PEN);
AColor::Line(*dc, 0, r.y, width, r.y);