1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-11 15:16:27 +01:00

Use class NumberScale in TrackArtist and spectral selection, abstracting...

... the details of mapping to and from pixel height
This commit is contained in:
Paul Licameli
2015-06-16 12:46:55 -04:00
parent 045828d744
commit 43b7df701b
5 changed files with 173 additions and 244 deletions

View File

@@ -698,13 +698,11 @@ protected:
bool maySnap,
wxInt64 mouseYCoordinate,
wxInt64 trackTopEdge,
int trackHeight,
bool logF) const;
int trackHeight) const;
wxInt64 FrequencyToPosition(const WaveTrack *wt,
double frequency,
wxInt64 trackTopEdge,
int trackHeight,
bool logF) const;
int trackHeight) const;
#endif
enum SelectionBoundary {