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

Pulled repeated code into a function; share some calcs with Envelope editor

This commit is contained in:
Paul Licameli
2015-06-03 01:43:06 -04:00
parent 85a533be79
commit f332df1f36
2 changed files with 32 additions and 44 deletions

View File

@@ -396,6 +396,7 @@ protected:
// Handle sample editing using the 'draw' tool.
virtual bool IsSampleEditingPossible( wxMouseEvent & event, Track * t );
virtual void HandleSampleEditing(wxMouseEvent & event);
float FindSampleEditingLevel(wxMouseEvent &event, double t0);
virtual void HandleSampleEditingClick( wxMouseEvent & event );
virtual void HandleSampleEditingDrag( wxMouseEvent & event );
virtual void HandleSampleEditingButtonUp( wxMouseEvent & event );