mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-08 06:03:49 +01:00
Move PositionToTime, TimeToPosition into class ZoomInfo ...
... and use them in many more places in TrackPanel.cpp, so there are fewer direct uses of ZoomInfo::zoom. Also use then in horizontal scrolling code
This commit is contained in:
committed by
Paul Licameli
parent
5a6d5d1443
commit
5418ce377b
@@ -356,6 +356,8 @@ class AUDACITY_DLL_API AudacityProject: public wxFrame,
|
||||
void SafeDisplayStatusMessage(const wxChar *msg);
|
||||
|
||||
double ScrollingLowerBoundTime() const;
|
||||
// How many pixels are covered by the period from lowermost scrollable time, to the given time:
|
||||
wxInt64 PixelWidthBeforeTime(double scrollto) const;
|
||||
void SetHorizontalThumb(double scrollto);
|
||||
|
||||
// TrackPanel access
|
||||
|
||||
Reference in New Issue
Block a user