summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyboard.h
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2015-05-24 01:10:06 +1000
committernick_m <mainsbridge@gmail.com>2015-05-24 01:10:06 +1000
commit9a55bcb04fc9af5e0425b7ef12c628cad9494433 (patch)
treed2d09503d909f97e49cebe12a8edd5a484cd2b47 /gtk2_ardour/keyboard.h
parent119c644dc08a4575c2770257efea451d3968e3cc (diff)
Rekative snap - add comments
Diffstat (limited to 'gtk2_ardour/keyboard.h')
-rw-r--r--gtk2_ardour/keyboard.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/keyboard.h b/gtk2_ardour/keyboard.h
index b163bfaa37..9ca60950bb 100644
--- a/gtk2_ardour/keyboard.h
+++ b/gtk2_ardour/keyboard.h
@@ -41,7 +41,14 @@ class ArdourKeyboard : public Gtkmm2ext::Keyboard
ARDOUR_UI& ui;
+ /** @param state The button state from a GdkEvent.
+ * @return true if the modifier state indicates snap modifier
+ */
static bool indicates_snap (guint state);
+
+ /** @param state The button state from a GdkEvent.
+ * @return true if the modifier state indicates snap delta
+ */
static bool indicates_snap_delta (guint state);
static void set_constraint_modifier (guint);