summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2014-07-03 17:50:14 -0500
committerBen Loftis <ben@harrisonconsoles.com>2014-07-03 17:50:14 -0500
commit555a5d6348d544a86fe9df1410db8a549ba05c5f (patch)
tree5875c533e88905d6080534fb5df09ab1b308e96d /gtk2_ardour/ardour_ui.h
parentba33c6dab6c6c41cb3392e06b824f4b46e3debf1 (diff)
lots of keybinding changes. added a new action to allow removing markers at the playhead location. numpad now allows you to access marks higher than 9. to locate to a marker, use the numpad decimal to start and end the operation - for example press .19. to locate to marker 19. also added alternate bindings for redo, delete, and several other alternates that will be needed in subsequent commits. tab is not working, using either Tab or nabla in the binding.in file
Diffstat (limited to 'gtk2_ardour/ardour_ui.h')
-rw-r--r--gtk2_ardour/ardour_ui.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h
index 701be1dfc2..5d10c6f13d 100644
--- a/gtk2_ardour/ardour_ui.h
+++ b/gtk2_ardour/ardour_ui.h
@@ -561,6 +561,15 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr
void set_transport_sensitivity (bool);
+ //stuff for ProTools-style numpad
+ void transport_numpad_event (int num);
+ void transport_numpad_decimal ();
+ bool _numpad_locate_happening;
+ int _pending_locate_num;
+ gint transport_numpad_timeout ();
+ sigc::connection _numpad_timeout_connection;
+
+ void transport_goto_nth_marker (int nth);
void transport_goto_zero ();
void transport_goto_start ();
void transport_goto_end ();