summaryrefslogtreecommitdiff
path: root/gtk2_ardour/processor_box.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-03-15 12:40:53 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-03-15 12:41:22 -0400
commit09e193c09778a365a309e42adeb564548a8a40a1 (patch)
tree5bc49f447cee4a97d998774c27e947e415c7bccc /gtk2_ardour/processor_box.h
parentd2396d59b1324cbb842963390b7f5acfec240b34 (diff)
give ProcessorBox its own bindings
Diffstat (limited to 'gtk2_ardour/processor_box.h')
-rw-r--r--gtk2_ardour/processor_box.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h
index 0ac276d57b..bf58380d5d 100644
--- a/gtk2_ardour/processor_box.h
+++ b/gtk2_ardour/processor_box.h
@@ -335,7 +335,9 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
sigc::signal<void,boost::shared_ptr<ARDOUR::Processor> > ProcessorSelected;
sigc::signal<void,boost::shared_ptr<ARDOUR::Processor> > ProcessorUnselected;
+ static Glib::RefPtr<Gtk::ActionGroup> processor_box_actions;
static void register_actions();
+
#ifndef NDEBUG
static bool show_all_processors;
#endif
@@ -362,6 +364,10 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
uint32_t _visible_prefader_processors;
RouteProcessorSelection& _rr_selection;
+ static Gtkmm2ext::ActionMap myactions;
+ static Gtkmm2ext::Bindings* bindings;
+
+ static void load_bindings ();
void route_going_away ();
@@ -493,8 +499,6 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
XMLNode* entry_gui_object_state (ProcessorEntry *);
PBD::ScopedConnection amp_config_connection;
-
- static Gtkmm2ext::ActionMap processor_box_actions;
};
#endif /* __ardour_gtk_processor_box__ */