summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-01-28 22:22:57 +0100
committerRobin Gareus <robin@gareus.org>2020-01-28 22:22:57 +0100
commit87af9fb820b314041f8cdb3eda1717a57cbf00aa (patch)
tree06e407cfd5fe4edab075af7de17d7f865187e1b7 /gtk2_ardour/mixer_strip.h
parentcb01a910d7e4663ddc832d4d33349fd9a9903a9c (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.h1
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;