diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-02-09 17:00:25 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-02-09 17:00:25 +0000 |
commit | 09f898d553de755492889eeb98b10ea24b298c11 (patch) | |
tree | de8f77622c655c5c5b379da6d38c6e935a779953 /gtk2_ardour/ardour_ui2.cc | |
parent | 14543eb1374dc51834385d2f3886f1e6068223c5 (diff) |
fixes for new button code; don't even make destructible sources non-writable; add a new binding/bindable for hte shuttle controller
git-svn-id: svn://localhost/ardour2/trunk@1440 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui2.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index 6fcfb32b6d..d3c3fc0690 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -649,6 +649,10 @@ ARDOUR_UI::shuttle_box_button_press (GdkEventButton* ev) return true; } + if (shuttle_controller_binding_proxy.button_press_handler (ev)) { + return true; + } + if (Keyboard::is_context_menu_event (ev)) { show_shuttle_context_menu (); return true; @@ -777,6 +781,13 @@ ARDOUR_UI::mouse_shuttle (double x, bool force) } void +ARDOUR_UI::set_shuttle_fract (double f) +{ + shuttle_fract = f; + use_shuttle_fract (false); +} + +void ARDOUR_UI::use_shuttle_fract (bool force) { struct timeval now; |