ardour UI: provide proxies for BasicUI trigger/cue methods
This commit is contained in:
parent
5330d73c35
commit
ffd089720d
@ -125,6 +125,8 @@
|
|||||||
|
|
||||||
#include "temporal/time.h"
|
#include "temporal/time.h"
|
||||||
|
|
||||||
|
#include "control_protocol/basic_ui.h"
|
||||||
|
|
||||||
#include "about.h"
|
#include "about.h"
|
||||||
#include "actions.h"
|
#include "actions.h"
|
||||||
#include "add_route_dialog.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);
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -293,6 +293,9 @@ public:
|
|||||||
XMLNode* clock_mode_settings () const;
|
XMLNode* clock_mode_settings () const;
|
||||||
XMLNode* tearoff_settings (const char*) const;
|
XMLNode* tearoff_settings (const char*) const;
|
||||||
|
|
||||||
|
void trigger_slot (int c, int r);
|
||||||
|
void trigger_cue_row (int r);
|
||||||
|
|
||||||
void save_ardour_state ();
|
void save_ardour_state ();
|
||||||
gboolean configure_handler (GdkEventConfigure* conf);
|
gboolean configure_handler (GdkEventConfigure* conf);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user