summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/types.h')
-rw-r--r--libs/ardour/ardour/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h
index f84966443c..352c20ae9b 100644
--- a/libs/ardour/ardour/types.h
+++ b/libs/ardour/ardour/types.h
@@ -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 {