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

Clean up of some spectral selection code making it shorter, clearer and easier to check.

Also added non-shift behaviour for shift and drag center line, that previously asserted.
This commit is contained in:
james.k.crook@gmail.com
2014-10-26 10:11:35 +00:00
parent 1eeb4d979a
commit 31fa2be749
2 changed files with 106 additions and 145 deletions

View File

@@ -344,6 +344,7 @@ class AUDACITY_DLL_API TrackPanel:public wxPanel {
virtual void SetCursorAndTipWhenSelectTool( Track * t, wxMouseEvent & event, wxRect &r, bool bMultiToolMode, const wxChar ** ppTip );
virtual void SetCursorAndTipByTool( int tool, wxMouseEvent & event, const wxChar **ppTip );
virtual void HandleCursor(wxMouseEvent & event);
virtual void MaySetOnDemandTip( Track * t, const wxChar ** ppTip );
// AS: Envelope editing handlers
virtual void HandleEnvelope(wxMouseEvent & event);