mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-24 17:41:13 +01:00
TrackArtist, LabelTrack, TimeTrack, Envelope functions take ZoomInfo...
... and SelectedRegion, and not ViewInfo or zoom level as a double. Also some leftOffset arguments. Assumptions of uniform zoom level persist in TrackArtist::DrawClipSpectrum and in TrackArtist::DrawClipWaveform but no longer in the rest.
This commit is contained in:
@@ -21,6 +21,7 @@ class wxRect;
|
||||
class wxDC;
|
||||
class Envelope;
|
||||
class Ruler;
|
||||
class ZoomInfo;
|
||||
|
||||
class TimeTrack: public Track {
|
||||
|
||||
@@ -49,7 +50,7 @@ class TimeTrack: public Track {
|
||||
virtual double GetStartTime() const { return 0.0; }
|
||||
virtual double GetEndTime() const { return 0.0; }
|
||||
|
||||
void Draw(wxDC & dc, const wxRect & r, double h, double pps);
|
||||
void Draw(wxDC & dc, const wxRect & r, const ZoomInfo &zoomInfo);
|
||||
|
||||
// XMLTagHandler callback methods for loading and saving
|
||||
|
||||
|
||||
Reference in New Issue
Block a user