mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-25 15:34:10 +02:00
Pass more context information into drawing routines
This commit is contained in:
@@ -40,6 +40,7 @@ class ZoomInfo;
|
||||
|
||||
|
||||
struct LabelTrackHit;
|
||||
struct TrackPanelDrawingContext;
|
||||
|
||||
class LabelStruct
|
||||
{
|
||||
@@ -147,7 +148,7 @@ class AUDACITY_DLL_API LabelTrack final : public Track
|
||||
static wxFont GetFont(const wxString &faceName, int size = DefaultFontSize);
|
||||
static void ResetFont();
|
||||
|
||||
void Draw(wxDC & dc, const wxRect & r,
|
||||
void Draw(TrackPanelDrawingContext &context, const wxRect & r,
|
||||
const SelectedRegion &selectedRegion,
|
||||
const ZoomInfo &zoomInfo) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user