1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-11 23:26:28 +01:00

Bugs 1059, 1077: don't edit cut lines during play; show correct cursor...

... Don't show the arrow when in fact the click at the bottom of the track
will resize.
This commit is contained in:
Paul Licameli
2015-07-13 13:03:19 -04:00
parent 912cdb6c53
commit 4f0a2ee804
2 changed files with 43 additions and 28 deletions

View File

@@ -242,7 +242,8 @@ class AUDACITY_DLL_API TrackPanel:public wxPanel {
virtual bool IsAudioActive();
virtual bool IsUnsafe();
virtual bool HandleLabelTrackMouseEvent(LabelTrack * lTrack, wxRect &r, wxMouseEvent & event);
virtual bool HandleTrackLocationMouseEvent(WaveTrack * track, wxRect &r, wxMouseEvent &event);
virtual bool HandleTrackLocationMouseEvent(WaveTrack * track, wxRect &rect, wxMouseEvent &event);
virtual bool IsOverCutline(WaveTrack * track, wxRect &rect, wxMouseEvent &event);
virtual void HandleTrackSpecificMouseEvent(wxMouseEvent & event);
virtual void DrawIndicator();
/// draws the green line on the tracks to show playback position
@@ -355,6 +356,7 @@ protected:
// AS: Cursor handling
virtual bool SetCursorByActivity( );
virtual bool SetCursorForCutline(WaveTrack * track, wxRect &rect, wxMouseEvent &event);
virtual void SetCursorAndTipWhenInLabel( Track * t, wxMouseEvent &event, wxString &tip );
virtual void SetCursorAndTipWhenInVResizeArea( bool blinked, wxString &tip );
virtual void SetCursorAndTipWhenInLabelTrack( LabelTrack * pLT, wxMouseEvent & event, wxString &tip );
@@ -752,7 +754,6 @@ protected:
IsGainSliding,
IsPanSliding,
IsMinimizing,
IsOverCutLine,
WasOverCutLine,
IsPopping,
#ifdef USE_MIDI