mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Relative snap - support magnetic mode (hackishly for now)
This commit is contained in:
parent
bbafb8f137
commit
91a34c596d
9 changed files with 92 additions and 11 deletions
|
|
@ -148,6 +148,10 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible, publi
|
|||
virtual void snap_to (framepos_t& first,
|
||||
ARDOUR::RoundMode direction = ARDOUR::RoundNearest,
|
||||
bool for_mark = false) = 0;
|
||||
/** Snap a value according to the current snap setting. */
|
||||
virtual void snap_to_no_magnets (framepos_t& first,
|
||||
ARDOUR::RoundMode direction = ARDOUR::RoundNearest,
|
||||
bool for_mark = false) = 0;
|
||||
|
||||
/** Undo some transactions.
|
||||
* @param n Number of transactions to undo.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue