Trigger Cues: implement Stop button (gtk part)
This commit is contained in:
parent
e7569eabe7
commit
3e5606415f
@ -360,7 +360,7 @@ CueMaster::event_handler (GdkEvent* ev)
|
||||
switch (ev->type) {
|
||||
case GDK_BUTTON_PRESS:
|
||||
if (ev->button.button == 1) {
|
||||
//TriggerBox::StopAllTriggers ();
|
||||
_session->stop_all_triggers();
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
|
@ -81,7 +81,7 @@ class TriggerMaster : public ArdourCanvas::Rectangle
|
||||
};
|
||||
|
||||
|
||||
class CueMaster : public ArdourCanvas::Rectangle
|
||||
class CueMaster : public ArdourCanvas::Rectangle, public ARDOUR::SessionHandlePtr
|
||||
{
|
||||
public:
|
||||
CueMaster (ArdourCanvas::Item* canvas);
|
||||
|
@ -218,6 +218,8 @@ TriggerPage::set_session (Session* s)
|
||||
return;
|
||||
}
|
||||
|
||||
_master.set_session(s);
|
||||
|
||||
XMLNode* node = ARDOUR_UI::instance ()->trigger_page_settings ();
|
||||
set_state (*node, Stateful::loading_state_version);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user