triggerboxUI: skeleton for triggerbox bindings and actions, include triggering of scene 1

This commit is contained in:
Paul Davis 2021-11-01 12:10:15 -06:00
parent 07a98734f3
commit b7ce131557
5 changed files with 44 additions and 1 deletions

View file

@ -86,6 +86,11 @@ class TriggerBoxUI : public ArdourCanvas::Table
void start_updating ();
void stop_updating ();
static Glib::RefPtr<Gtk::ActionGroup> trigger_actions;
static void setup_actions_and_bindings ();
static void trigger_scene (int32_t);
private:
ARDOUR::TriggerBox& _triggerbox;
typedef std::vector<TriggerEntry*> Slots;
@ -94,6 +99,10 @@ class TriggerBoxUI : public ArdourCanvas::Table
sigc::connection file_chooser_connection;
Gtk::Menu* _context_menu;
static Gtkmm2ext::Bindings* bindings;
static void load_bindings ();
static void register_actions ();
bool bang (GdkEvent*, uint64_t);
bool text_event (GdkEvent*, uint64_t);
bool event (GdkEvent*, uint64_t);