mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Split class TrackArtist from namespace TrackArt...
... The first is just extended drawing context info, and the second has functions that retrieve TrackArtist from TrackPanelDrawingContext as needed.
This commit is contained in:
@@ -104,7 +104,7 @@ bool AudacityPrintout::OnPrintPage(int WXUNUSED(page))
|
||||
TrackPanelDrawingContext context{
|
||||
*dc, {}, {}, &artist
|
||||
};
|
||||
artist.DrawTrack( context, n, r );
|
||||
TrackArt::DrawTrack( context, n, r );
|
||||
|
||||
dc->SetPen(*wxBLACK_PEN);
|
||||
AColor::Line(*dc, 0, r.y, width, r.y);
|
||||
|
Reference in New Issue
Block a user