mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-04 13:40:58 +01:00
Pass more context information into drawing routines
This commit is contained in:
@@ -73,6 +73,7 @@ private:
|
||||
};
|
||||
|
||||
typedef std::vector<EnvPoint> EnvArray;
|
||||
struct TrackPanelDrawingContext;
|
||||
|
||||
class Envelope final : public XMLTagHandler {
|
||||
public:
|
||||
@@ -117,7 +118,9 @@ public:
|
||||
XMLTagHandler *HandleXMLChild(const wxChar *tag) override;
|
||||
void WriteXML(XMLWriter &xmlFile) const /* not override */;
|
||||
|
||||
void DrawPoints(wxDC & dc, const wxRect & r, const ZoomInfo &zoomInfo,
|
||||
void DrawPoints(
|
||||
TrackPanelDrawingContext &context,
|
||||
const wxRect & r, const ZoomInfo &zoomInfo,
|
||||
bool dB, double dBRange,
|
||||
float zoomMin, float zoomMax, bool mirrored) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user