ctrl surfaces: add method to BasicUI to stop slots in a given trigger box
This commit is contained in:
parent
9403b116ad
commit
c2c23172bd
@ -434,9 +434,9 @@ BasicUI::transport_rolling () const
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
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
|
void
|
||||||
@ -445,6 +445,19 @@ BasicUI::trigger_cue_row (int cue_idx)
|
|||||||
session->trigger_cue_row (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
|
void
|
||||||
BasicUI::tbank_set_size (int width, int height)
|
BasicUI::tbank_set_size (int width, int height)
|
||||||
{
|
{
|
||||||
|
@ -102,6 +102,7 @@ class LIBCONTROLCP_API BasicUI {
|
|||||||
|
|
||||||
void trigger_cue_row (int cue);
|
void trigger_cue_row (int cue);
|
||||||
void trigger_stop_all (bool stop_now = false);
|
void trigger_stop_all (bool stop_now = false);
|
||||||
|
void trigger_stop_col (int col, bool immediately = false);
|
||||||
|
|
||||||
void store_mixer_scene (int scn);
|
void store_mixer_scene (int scn);
|
||||||
void apply_mixer_scene (int scn);
|
void apply_mixer_scene (int scn);
|
||||||
|
Loading…
Reference in New Issue
Block a user