diff options
author | nick_m <mainsbridge@gmail.com> | 2015-05-22 02:12:58 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2015-05-22 02:12:58 +1000 |
commit | eaf49f02ff92f22cbfa214ae89ec0a2fc3861d29 (patch) | |
tree | 6d35ff13c38aef1e91fbcb0ff10ee84f94d1ebc1 /gtk2_ardour/keyboard.h | |
parent | 5d176eefa6706f11031f0b6c01179fe80cbbc6c1 (diff) |
Fix up modifier behaviour
- its now possible to use snap modifiers in combination with others
afaict this hasn't worked for some time.
- use "contains" rather than "equals" during drag. Still uncertain
about this wrt beginning a drag. for now they are all "equals".
- probably solve the "snap modifier modifier" problem using
ArdourKeyboard::indicates_snap () and friend.
Diffstat (limited to 'gtk2_ardour/keyboard.h')
-rw-r--r-- | gtk2_ardour/keyboard.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/keyboard.h b/gtk2_ardour/keyboard.h index 95e40f6e3e..8ed30efb72 100644 --- a/gtk2_ardour/keyboard.h +++ b/gtk2_ardour/keyboard.h @@ -41,6 +41,9 @@ class ArdourKeyboard : public Gtkmm2ext::Keyboard ARDOUR_UI& ui; + static bool indicates_snap (guint state); + static bool indicates_snap_delta (guint state); + static void set_trim_contents_modifier (guint); /** @return Modifier mask to move contents rather than region bounds during trim; */ |