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

Bug990 (seek key reponsiveness), and, change Scrub UI again, so Ctrl key seeks.

Includes changes to Mouse Preferences and status bar messages.
This commit is contained in:
Paul Licameli
2015-05-29 17:18:10 -04:00
parent c79b10713f
commit 841bca36ea
4 changed files with 38 additions and 13 deletions

View File

@@ -305,6 +305,7 @@ class AUDACITY_DLL_API TrackPanel:public wxPanel {
#endif
#ifdef EXPERIMENTAL_SCRUBBING_BASIC
static bool IsScrubSeekKeyDown();
bool IsScrubbing();
void ToggleScrubbing(
wxCoord xx
@@ -313,7 +314,7 @@ class AUDACITY_DLL_API TrackPanel:public wxPanel {
#endif
);
bool MaybeStartScrubbing(wxMouseEvent &event);
bool ContinueScrubbing(wxCoord position, bool maySkip);
bool ContinueScrubbing(wxCoord position, bool hasFocus, bool maySkip);
bool StopScrubbing();
#endif
@@ -781,7 +782,8 @@ protected:
wxCoord mScrubStartPosition;
double mMaxScrubSpeed;
int mScrubSpeedDisplayCountdown;
bool mScrubHasFocus;
bool mScrubHasFocus; // To do: rely on wxWindow::HasFocus() instead, wx verions 2.9.0+
bool mScrubSeekKeypress;
#endif
#ifdef EXPERIMENTAL_SCRUBBING_SMOOTH_SCROLL