summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui2.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-09-01 18:37:49 +0200
committerRobin Gareus <robin@gareus.org>2019-09-01 18:37:49 +0200
commit4232b615621d04b2cf263ce18e2d59109dfc5b0e (patch)
treee9e2a59b26c573020d9a381e0f1f3674c955ac6f /gtk2_ardour/ardour_ui2.cc
parent7b3ca486a49d09611149a9b31139d3ea762e1a0c (diff)
Prominent "Feedback" indicator blinking
Always use a color when blinking. This allows to see "feedback" even in screenshots. Previously there was a 50% to capture it in a still image.
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r--gtk2_ardour/ardour_ui2.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc
index 3fa4359a84..9ded21f221 100644
--- a/gtk2_ardour/ardour_ui2.cc
+++ b/gtk2_ardour/ardour_ui2.cc
@@ -686,12 +686,14 @@ void
ARDOUR_UI::feedback_blink (bool onoff)
{
if (_feedback_exists) {
+ feedback_alert_button.set_active (true);
if (onoff) {
- feedback_alert_button.set_active (true);
+ feedback_alert_button.reset_fixed_colors ();
} else {
- feedback_alert_button.set_active (false);
+ feedback_alert_button.set_active_color (UIConfigurationBase::instance().color ("feedback alert: alt active", NULL));
}
} else {
+ feedback_alert_button.reset_fixed_colors ();
feedback_alert_button.set_active (false);
}
}