mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
triggerboxUI: skeleton for triggerbox bindings and actions, include triggering of scene 1
This commit is contained in:
parent
07a98734f3
commit
b7ce131557
5 changed files with 44 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue