diff options
author | Carl Hetherington <carl@carlh.net> | 2010-06-08 23:45:58 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-06-08 23:45:58 +0000 |
commit | 8f263c239a2090d43221d817442c8141dd439079 (patch) | |
tree | ae6e1ec9df5fd6570d21103f3452dd2b929858ca /gtk2_ardour/midi_region_view.h | |
parent | 8dd31447be22c20a51f019c8ea77c27ba975815c (diff) |
Clean up a bit. Fix non-relative note dragging mode to fit my understanding of its correct behaviour. Fixes #3189.
git-svn-id: svn://localhost/ardour2/branches/3.0@7246 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r-- | gtk2_ardour/midi_region_view.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h index cb360159d9..1f2d53980e 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -219,20 +219,8 @@ class MidiRegionView : public RegionView */ void begin_resizing(bool at_front); - /** Update resizing notes while user drags. - * @param at_front which end of the note (true == note on, false == note off) - * @param x the difference in mouse motion, ie the motion difference if relative=true - * or the absolute mouse position (track-relative) if relative is false - * @param relative true if relative resizing is taking place, false if absolute resizing - */ - void update_resizing(bool at_front, double x, bool relative); - - /** Finish resizing notes when the user releases the mouse button. - * @param at_front which end of the note (true == note on, false == note off) - * @param event_x the absolute mouse position (track-relative) - * @param relative true if relative resizing is taking place, false if absolute resizing - */ - void commit_resizing(bool at_front, double event_x, bool relative); + void update_resizing (ArdourCanvas::CanvasNote *, bool, double, bool); + void commit_resizing (ArdourCanvas::CanvasNote *, bool, double, bool); /** Adjust the velocity on a note, and the selection if applicable. * @param velocity the relative or absolute velocity |