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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user