mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
desensitize almost everything in a mixer strip when displaying send(s), to avoid user confusion about what can and cannot be modified
git-svn-id: svn://localhost/ardour2/branches/3.0@8609 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
314f0d91d3
commit
6ffc443eaa
3 changed files with 30 additions and 0 deletions
|
|
@ -1718,6 +1718,16 @@ MixerStrip::drop_send ()
|
||||||
send_gone_connection.disconnect ();
|
send_gone_connection.disconnect ();
|
||||||
input_button.set_sensitive (true);
|
input_button.set_sensitive (true);
|
||||||
output_button.set_sensitive (true);
|
output_button.set_sensitive (true);
|
||||||
|
group_button.set_sensitive (true);
|
||||||
|
set_invert_sensitive (true);
|
||||||
|
meter_point_button.set_sensitive (true);
|
||||||
|
mute_button->set_sensitive (true);
|
||||||
|
solo_button->set_sensitive (true);
|
||||||
|
rec_enable_button->set_sensitive (true);
|
||||||
|
_mono_button.set_sensitive (true);
|
||||||
|
comment_button.set_sensitive (true);
|
||||||
|
solo_isolated_led->set_sensitive (true);
|
||||||
|
solo_safe_led->set_sensitive (true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -1746,6 +1756,16 @@ MixerStrip::show_send (boost::shared_ptr<Send> send)
|
||||||
panner_ui().setup_pan ();
|
panner_ui().setup_pan ();
|
||||||
|
|
||||||
input_button.set_sensitive (false);
|
input_button.set_sensitive (false);
|
||||||
|
group_button.set_sensitive (false);
|
||||||
|
set_invert_sensitive (false);
|
||||||
|
meter_point_button.set_sensitive (false);
|
||||||
|
mute_button->set_sensitive (false);
|
||||||
|
solo_button->set_sensitive (false);
|
||||||
|
rec_enable_button->set_sensitive (false);
|
||||||
|
_mono_button.set_sensitive (false);
|
||||||
|
comment_button.set_sensitive (false);
|
||||||
|
solo_isolated_led->set_sensitive (false);
|
||||||
|
solo_safe_led->set_sensitive (false);
|
||||||
|
|
||||||
if (boost::dynamic_pointer_cast<InternalSend>(send)) {
|
if (boost::dynamic_pointer_cast<InternalSend>(send)) {
|
||||||
output_button.set_sensitive (false);
|
output_button.set_sensitive (false);
|
||||||
|
|
|
||||||
|
|
@ -1822,3 +1822,11 @@ RouteUI::invert_menu_toggled (uint32_t c)
|
||||||
|
|
||||||
_route->set_phase_invert (c, !_route->phase_invert (c));
|
_route->set_phase_invert (c, !_route->phase_invert (c));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
RouteUI::set_invert_sensitive (bool yn)
|
||||||
|
{
|
||||||
|
for (list<BindableToggleButton*>::iterator b = _invert_buttons.begin(); b != _invert_buttons.end(); ++b) {
|
||||||
|
(*b)->set_sensitive (yn);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -223,6 +223,8 @@ class RouteUI : public virtual AxisView
|
||||||
virtual void start_step_editing () {}
|
virtual void start_step_editing () {}
|
||||||
virtual void stop_step_editing() {}
|
virtual void stop_step_editing() {}
|
||||||
|
|
||||||
|
void set_invert_sensitive (bool);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void check_rec_enable_sensitivity ();
|
void check_rec_enable_sensitivity ();
|
||||||
void parameter_changed (std::string const &);
|
void parameter_changed (std::string const &);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue