new_grid: Rewrite of Snap and Grid. (squashed commit)
[ardour.git] / libs / ardour / ardour / types.h
index f84966443ca83b5b53b4113b207cf07da5aaa33f..352c20ae9bdf55dccc27b46f0c2a4fe04990f202 100644 (file)
@@ -238,6 +238,11 @@ namespace ARDOUR {
                RoundUpMaybe    = 2    ///< Round up only if necessary
        };
 
+       enum SnapPref {
+               SnapToAny    = 0,   ///< Snaps to the closest of ( snap prefs, grid quantization )
+               SnapToGrid   = 1,   ///< Prefer snapping to the closest grid quantization, if a Grid selection is enabled
+       };
+
        class AnyTime {
        public:
                enum Type {