diff options
author | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-07-22 00:44:22 +0200 |
---|---|---|
committer | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-07-24 13:51:11 +0200 |
commit | 4093cf6b90e1479ed1589c587baa572b6047d383 (patch) | |
tree | 4af523d1e27aecde623038fcf29bd6c87e66b02a /gtk2_ardour/mixer_strip.h | |
parent | ba815a903b679b002f48589e77032ca4a2799feb (diff) |
Make the trim knob on busses show only if there is audio
The trim knob has been designed to operate only on audio channels. If
the bus has none, hide the knob that would otherwise have no effect at
all.
Factor the trim control show/hide code out of MixerStrip::set_route(),
and also call that code in response to I/O changes in the route.
Diffstat (limited to 'gtk2_ardour/mixer_strip.h')
-rw-r--r-- | gtk2_ardour/mixer_strip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_strip.h b/gtk2_ardour/mixer_strip.h index c1c1726902..eb6da17f87 100644 --- a/gtk2_ardour/mixer_strip.h +++ b/gtk2_ardour/mixer_strip.h @@ -253,6 +253,7 @@ class MixerStrip : public AxisView, public RouteUI, public Gtk::EventBox PBD::ScopedConnection panstyle_connection; void connect_to_pan (); void update_panner_choices (); + void update_trim_control (); void update_diskstream_display (); void update_input_display (); |