mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Remove EXPERIMENTAL_OUTPUT_DISPLAY...
... Maybe a good feature idea, but the implementation pollutes the code in too many places. It's a special case of the more general idea of many-to-one associations between screen rectangles and track objects. More generalized ways to accommodate that should be sought.
This commit is contained in:
@@ -107,19 +107,6 @@ bool AudacityPrintout::OnPrintPage(int WXUNUSED(page))
|
||||
dc->SetPen(*wxBLACK_PEN);
|
||||
AColor::Line(*dc, 0, r.y, width, r.y);
|
||||
|
||||
#ifdef EXPERIMENTAL_OUTPUT_DISPLAY
|
||||
if(MONO_WAVE_PAN(n)){
|
||||
y += r.height;
|
||||
r.x = 0;
|
||||
r.y = y;
|
||||
r.width = width;
|
||||
r.height = (int)(n->GetHeight(true) * scale);
|
||||
artist.DrawTrack(
|
||||
n, *dc, r, SelectedRegion{}, zoomInfo, false, false, false, false);
|
||||
dc->SetPen(*wxBLACK_PEN);
|
||||
AColor::Line(*dc, 0, r.y, width, r.y);
|
||||
}
|
||||
#endif
|
||||
n = iter.Next();
|
||||
y += r.height;
|
||||
};
|
||||
|
Reference in New Issue
Block a user