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

Scroll-seek improvements

This commit is contained in:
Paul Licameli
2015-05-30 11:44:09 -04:00
parent d379012b77
commit 4f5483b4af
3 changed files with 78 additions and 32 deletions

View File

@@ -302,9 +302,11 @@ class AUDACITY_DLL_API TrackPanel:public wxPanel {
#ifdef EXPERIMENTAL_SCRUBBING_SMOOTH_SCROLL
double FindScrubSpeed(double timeAtMouse) const;
double FindSeekSpeed(double timeAtMouse) const;
#endif
#ifdef EXPERIMENTAL_SCRUBBING_BASIC
static bool PollIsSeeking();
bool IsScrubbing();
void MarkScrubStart(
wxCoord xx
@@ -313,7 +315,7 @@ class AUDACITY_DLL_API TrackPanel:public wxPanel {
#endif
);
bool MaybeStartScrubbing(wxMouseEvent &event);
bool ContinueScrubbing(wxCoord position, bool hasFocus, bool maySkip);
bool ContinueScrubbing(wxCoord position, bool hasFocus, bool seek);
bool StopScrubbing();
#endif