1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-08 06:03:49 +01:00

Ruler-drawing does not assume uniform zoom, ...

... and AdornedRulerPanel exposes an invalidation function for later use
This commit is contained in:
Paul Licameli
2015-06-09 16:11:02 -04:00
parent 8664c877ba
commit 6b9e7506dd
4 changed files with 94 additions and 46 deletions

View File

@@ -156,6 +156,7 @@ class AUDACITY_DLL_API AudacityProject: public wxFrame,
bool ZoomOutAvailable() const { return mViewInfo.ZoomOutAvailable(); }
double GetSel0() { return mViewInfo.selectedRegion.t0(); }
double GetSel1() { return mViewInfo.selectedRegion.t1(); }
const ZoomInfo &GetZoomInfo() const { return mViewInfo; }
Track *GetFirstVisible();
void UpdateFirstVisible();