13
0

ardour UI: provide proxies for BasicUI trigger/cue methods

This commit is contained in:
Paul Davis 2022-11-16 14:14:08 -07:00
parent 5330d73c35
commit ffd089720d
2 changed files with 26 additions and 0 deletions

View File

@ -125,6 +125,8 @@
#include "temporal/time.h"
#include "control_protocol/basic_ui.h"
#include "about.h"
#include "actions.h"
#include "add_route_dialog.h"
@ -3111,3 +3113,24 @@ ARDOUR_UI::setup_toplevel_window (Gtk::Window& window, const string& name, void*
window.signal_key_release_event().connect (sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::key_event_handler), &window), false);
}
void
ARDOUR_UI::trigger_slot (int c, int r)
{
if (!_basic_ui) {
return;
}
_basic_ui->bang_trigger_at (c, r);
}
void
ARDOUR_UI::trigger_cue_row (int r)
{
if (!_basic_ui) {
return;
}
_basic_ui->trigger_cue_row (r);
}

View File

@ -293,6 +293,9 @@ public:
XMLNode* clock_mode_settings () const;
XMLNode* tearoff_settings (const char*) const;
void trigger_slot (int c, int r);
void trigger_cue_row (int r);
void save_ardour_state ();
gboolean configure_handler (GdkEventConfigure* conf);