mixer strips sensitivity state varies with virtual soundcheck status
This commit is contained in:
parent
efef5531c9
commit
0dcc3381f6
@ -429,6 +429,7 @@ MixerStrip::init ()
|
||||
UIConfiguration::instance().ParameterChanged.connect (sigc::mem_fun (*this, &MixerStrip::parameter_changed));
|
||||
Config->ParameterChanged.connect (_config_connection, invalidator (*this), boost::bind (&MixerStrip::parameter_changed, this, _1), gui_context());
|
||||
_session->config.ParameterChanged.connect (_config_connection, invalidator (*this), boost::bind (&MixerStrip::parameter_changed, this, _1), gui_context());
|
||||
_session->VirtualSoundCheckChanged.connect (_session_connections, MISSING_INVALIDATOR, boost::bind (&MixerStrip::virtual_soundcheck_changed, this, _1), gui_context());
|
||||
|
||||
//watch for mouse enter/exit so we can do some stuff
|
||||
signal_enter_notify_event().connect (sigc::mem_fun(*this, &MixerStrip::mixer_strip_enter_event ));
|
||||
@ -449,6 +450,13 @@ MixerStrip::~MixerStrip ()
|
||||
delete route_ops_menu;
|
||||
}
|
||||
|
||||
void
|
||||
MixerStrip::virtual_soundcheck_changed (bool onoff)
|
||||
{
|
||||
gpm.get_gain_slider().set_sensitive (!onoff);
|
||||
panners.set_sensitive (!onoff);
|
||||
}
|
||||
|
||||
void
|
||||
MixerStrip::vca_assign (std::shared_ptr<ARDOUR::VCA> vca)
|
||||
{
|
||||
|
@ -339,6 +339,8 @@ private:
|
||||
void update_track_number_visibility ();
|
||||
|
||||
ControlSlaveUI control_slave_ui;
|
||||
|
||||
void virtual_soundcheck_changed (bool onoff);
|
||||
};
|
||||
|
||||
#endif /* __ardour_mixer_strip__ */
|
||||
|
Loading…
Reference in New Issue
Block a user