diff options
author | Robin Gareus <robin@gareus.org> | 2020-01-28 22:22:57 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-01-28 22:22:57 +0100 |
commit | 87af9fb820b314041f8cdb3eda1717a57cbf00aa (patch) | |
tree | 06e407cfd5fe4edab075af7de17d7f865187e1b7 /gtk2_ardour/mixer_strip.h | |
parent | cb01a910d7e4663ddc832d4d33349fd9a9903a9c (diff) |
Consolidate Mixer-strip sensitivity
* Use a single method to set mixer-strip widget sensitivity
* Update context-menu to only allow show actions that can
currently be performed, depending on active/inactive state.
* Mark all control elements of in-active strips as insenstive
except those required to re-enable the route.
* Also update processor-box and solo-button when showing Aux
Special case Mixbus. Mixbus already shows a "Insensitive" label,
and Mixbus-channelstrip element sensitivity remains to be
implemented before using this mechanism.
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 7498fd92a2..c7dcc4c552 100644 --- a/gtk2_ardour/mixer_strip.h +++ b/gtk2_ardour/mixer_strip.h @@ -305,6 +305,7 @@ private: PBD::ScopedConnection send_gone_connection; void reset_strip_style (); + void update_sensitivity (); ARDOUR::DataType guess_main_type(bool for_input, bool favor_connected = true) const; |