diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-08-01 23:40:55 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:31:23 -0500 |
commit | a13a8da8ac977b247b7c8d8b4f2cfcddfc8996e7 (patch) | |
tree | 1634663d824b2249a83d01881924fb3ff5bca2cd /gtk2_ardour/monitor_section.h | |
parent | d0fc12bd22107bf6f14a2c249ed340d40e596f58 (diff) |
switch all action registration/binding code over to new API.
This removes the ability to change bindings via menus.
Still to come: saving modified bindings, and reworking the key editor
Diffstat (limited to 'gtk2_ardour/monitor_section.h')
-rw-r--r-- | gtk2_ardour/monitor_section.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/monitor_section.h b/gtk2_ardour/monitor_section.h index a0339a74bb..3025365e57 100644 --- a/gtk2_ardour/monitor_section.h +++ b/gtk2_ardour/monitor_section.h @@ -21,6 +21,7 @@ #include <gtkmm/table.h> #include "gtkmm2ext/bindable_button.h" +#include "gtkmm2ext/bindings.h" #include "ardour_button.h" #include "ardour_knob.h" @@ -40,7 +41,7 @@ namespace Gtkmm2ext { class MonitorSection : public RouteUI { - public: + public: MonitorSection (ARDOUR::Session*); ~MonitorSection (); @@ -175,4 +176,7 @@ class MonitorSection : public RouteUI void processors_changed (ARDOUR::RouteProcessorChange); Glib::RefPtr<Gtk::ToggleAction> proctoggle; bool _ui_initialized; + + private: + Gtkmm2ext::ActionMap myactions; }; |