cue page: remove the unmarked rec-enable button from the cues column
This commit is contained in:
parent
bfd698bef8
commit
de9f73c040
|
@ -74,8 +74,6 @@ TriggerPage::TriggerPage ()
|
||||||
load_bindings ();
|
load_bindings ();
|
||||||
register_actions ();
|
register_actions ();
|
||||||
|
|
||||||
_cue_rec_enable.set_name ("record enable button");
|
|
||||||
|
|
||||||
/* Match TriggerStrip::_name_button height */
|
/* Match TriggerStrip::_name_button height */
|
||||||
ArdourButton* spacer = manage (new ArdourButton (ArdourButton::Text));
|
ArdourButton* spacer = manage (new ArdourButton (ArdourButton::Text));
|
||||||
spacer->set_name ("mixer strip button");
|
spacer->set_name ("mixer strip button");
|
||||||
|
@ -87,7 +85,6 @@ TriggerPage::TriggerPage ()
|
||||||
_cue_area_box.pack_start (*spacer, Gtk::PACK_SHRINK);
|
_cue_area_box.pack_start (*spacer, Gtk::PACK_SHRINK);
|
||||||
_cue_area_box.pack_start (_cue_box, Gtk::PACK_SHRINK);
|
_cue_area_box.pack_start (_cue_box, Gtk::PACK_SHRINK);
|
||||||
_cue_area_box.pack_start (_master_widget, Gtk::PACK_SHRINK);
|
_cue_area_box.pack_start (_master_widget, Gtk::PACK_SHRINK);
|
||||||
_cue_area_box.pack_start (_cue_rec_enable, Gtk::PACK_SHRINK);
|
|
||||||
|
|
||||||
/* left-side frame, same layout as TriggerStrip.
|
/* left-side frame, same layout as TriggerStrip.
|
||||||
* use Alignment instead of Frame with SHADOW_IN (2px)
|
* use Alignment instead of Frame with SHADOW_IN (2px)
|
||||||
|
@ -284,10 +281,6 @@ TriggerPage::set_session (Session* s)
|
||||||
|
|
||||||
Editor::instance ().get_selection ().TriggersChanged.connect (sigc::mem_fun (*this, &TriggerPage::selection_changed));
|
Editor::instance ().get_selection ().TriggersChanged.connect (sigc::mem_fun (*this, &TriggerPage::selection_changed));
|
||||||
|
|
||||||
TriggerBox::CueRecordingChanged.connect (_session_connections, invalidator (*this), boost::bind (&TriggerPage::rec_state_changed, this), gui_context ());
|
|
||||||
rec_state_changed();
|
|
||||||
_cue_rec_enable.signal_clicked.connect(sigc::mem_fun(*this, &TriggerPage::rec_state_clicked));
|
|
||||||
|
|
||||||
initial_track_display ();
|
initial_track_display ();
|
||||||
|
|
||||||
_slot_prop_box.set_session (s);
|
_slot_prop_box.set_session (s);
|
||||||
|
@ -525,19 +518,6 @@ TriggerPage::axis_view_by_control (boost::shared_ptr<AutomationControl> c) const
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
|
||||||
TriggerPage::rec_state_clicked ()
|
|
||||||
{
|
|
||||||
TriggerBox::set_cue_recording(!TriggerBox::cue_recording());
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
TriggerPage::rec_state_changed ()
|
|
||||||
{
|
|
||||||
_cue_rec_enable.set_active_state( TriggerBox::cue_recording() ? Gtkmm2ext::ExplicitActive : Gtkmm2ext::Off);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
TriggerPage::parameter_changed (string const& p)
|
TriggerPage::parameter_changed (string const& p)
|
||||||
{
|
{
|
||||||
|
|
|
@ -122,7 +122,6 @@ private:
|
||||||
CueBoxWidget _cue_box;
|
CueBoxWidget _cue_box;
|
||||||
FittedCanvasWidget _master_widget;
|
FittedCanvasWidget _master_widget;
|
||||||
CueMaster _master;
|
CueMaster _master;
|
||||||
ArdourWidgets::ArdourButton _cue_rec_enable;
|
|
||||||
|
|
||||||
SlotPropertiesBox _slot_prop_box;
|
SlotPropertiesBox _slot_prop_box;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user