mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
ctrl surfaces: add method to BasicUI to stop slots in a given trigger box
This commit is contained in:
parent
9403b116ad
commit
c2c23172bd
2 changed files with 16 additions and 2 deletions
|
|
@ -434,9 +434,9 @@ BasicUI::transport_rolling () const
|
|||
}
|
||||
|
||||
void
|
||||
BasicUI::trigger_stop_all (bool stop_all)
|
||||
BasicUI::trigger_stop_all (bool immediately)
|
||||
{
|
||||
session->trigger_stop_all (stop_all);
|
||||
session->trigger_stop_all (immediately);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -445,6 +445,19 @@ BasicUI::trigger_cue_row (int cue_idx)
|
|||
session->trigger_cue_row (cue_idx);
|
||||
}
|
||||
|
||||
void
|
||||
BasicUI::trigger_stop_col (int col, bool immediately)
|
||||
{
|
||||
boost::shared_ptr<TriggerBox> tb = session->triggerbox_at (col);
|
||||
if (tb) {
|
||||
if (immediately) {
|
||||
tb->stop_all_immediately ();
|
||||
} else {
|
||||
tb->stop_all_quantized ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
BasicUI::tbank_set_size (int width, int height)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ class LIBCONTROLCP_API BasicUI {
|
|||
|
||||
void trigger_cue_row (int cue);
|
||||
void trigger_stop_all (bool stop_now = false);
|
||||
void trigger_stop_col (int col, bool immediately = false);
|
||||
|
||||
void store_mixer_scene (int scn);
|
||||
void apply_mixer_scene (int scn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue