diff options
Diffstat (limited to 'gtk2_ardour/keyboard.h')
-rw-r--r-- | gtk2_ardour/keyboard.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/keyboard.h b/gtk2_ardour/keyboard.h index e008a40128..f7b52d3ae1 100644 --- a/gtk2_ardour/keyboard.h +++ b/gtk2_ardour/keyboard.h @@ -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; */ |