- /** 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);