properly handle FS pitch-bend - closes #7140
[ardour.git] / gtk2_ardour / keyboard.h
index e008a40128b7ced21cc3b8c9ab3b9265d8b5f205..f7b52d3ae1f161afc036291806742a9e7bc33801 100644 (file)
@@ -56,6 +56,16 @@ class ArdourKeyboard : public Gtkmm2ext::Keyboard
         */
        static bool indicates_snap_delta (guint state);
 
+       /** @param state The button state from a GdkEvent.
+        *  @return true if the modifier state indicates copy modifier
+        */
+       static bool indicates_copy (guint state);
+
+       /** @param state The button state from a GdkEvent.
+        *  @return true if the modifier state indicates constraint modifier
+        */
+       static bool indicates_constraint (guint state);
+
        static void set_constraint_modifier (guint);
        /** @return Modifier mask to constrain drags in a particular direction;
         */