mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 00:23:32 +02:00
Pass more context information into drawing routines
This commit is contained in:
@@ -22,6 +22,7 @@ class wxDC;
|
||||
class Envelope;
|
||||
class Ruler;
|
||||
class ZoomInfo;
|
||||
struct TrackPanelDrawingContext;
|
||||
|
||||
class EnvelopeHandle;
|
||||
|
||||
@@ -67,7 +68,9 @@ class TimeTrack final : public Track {
|
||||
double GetStartTime() const override { return 0.0; }
|
||||
double GetEndTime() const override { return 0.0; }
|
||||
|
||||
void Draw(wxDC & dc, const wxRect & r, const ZoomInfo &zoomInfo) const;
|
||||
void Draw
|
||||
(TrackPanelDrawingContext &context,
|
||||
const wxRect & r, const ZoomInfo &zoomInfo) const;
|
||||
|
||||
// XMLTagHandler callback methods for loading and saving
|
||||
|
||||
|
Reference in New Issue
Block a user