Retain shuttle color regardless of speed
Even if the default text is boring, dark gray on black is not readable. This makes Ardour behave like mixbus (which always used default foreground).
This commit is contained in:
parent
c5e5659022
commit
3582c16871
|
@ -71,7 +71,6 @@ ShuttleInfoButton::ShuttleInfoButton ()
|
|||
set_layout_font (UIConfiguration::instance ().get_NormalFont ());
|
||||
set_sizing_text (S_("LogestShuttle|+00 st"));
|
||||
set_tooltip (*this, _("Speed Display (Context-click for options)"));
|
||||
set_name ("shuttle text");
|
||||
set_visual_state (Gtkmm2ext::NoVisualState);
|
||||
set_elements (ArdourButton::Text);
|
||||
|
||||
|
@ -245,10 +244,8 @@ void
|
|||
ShuttleControl::do_blink (bool onoff)
|
||||
{
|
||||
if (!shuttle_grabbed && _session && _session->default_play_speed () != 1.0) {
|
||||
_info_button.set_active (onoff);
|
||||
_vari_button.set_active (onoff);
|
||||
} else {
|
||||
_info_button.set_active (false);
|
||||
_vari_button.set_active (false);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -385,8 +385,6 @@
|
|||
<ColorAlias name="send pan" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="shuttle" alias="widget:bg"/>
|
||||
<ColorAlias name="shuttle bg" alias="neutral:backgroundest"/>
|
||||
<ColorAlias name="shuttle text: fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="shuttle text: fill active" alias="alert:red"/>
|
||||
<ColorAlias name="silence" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="silence text" alias="neutral:foreground"/>
|
||||
<ColorAlias name="solo button: fill" alias="widget:bg"/>
|
||||
|
|
|
@ -386,8 +386,6 @@
|
|||
<ColorAlias name="send pan" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="shuttle" alias="widget:bg"/>
|
||||
<ColorAlias name="shuttle bg" alias="neutral:backgroundest"/>
|
||||
<ColorAlias name="shuttle text: fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="shuttle text: fill active" alias="alert:red"/>
|
||||
<ColorAlias name="silence" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="silence text" alias="neutral:foreground"/>
|
||||
<ColorAlias name="solo button: fill" alias="widget:bg"/>
|
||||
|
|
|
@ -386,8 +386,6 @@
|
|||
<ColorAlias name="send pan" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="shuttle" alias="widget:bg"/>
|
||||
<ColorAlias name="shuttle bg" alias="neutral:backgroundest"/>
|
||||
<ColorAlias name="shuttle text: fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="shuttle text: fill active" alias="alert:red"/>
|
||||
<ColorAlias name="silence" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="silence text" alias="neutral:foreground"/>
|
||||
<ColorAlias name="solo button: fill" alias="widget:bg"/>
|
||||
|
|
|
@ -386,8 +386,6 @@
|
|||
<ColorAlias name="send pan" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="shuttle" alias="widget:bg"/>
|
||||
<ColorAlias name="shuttle bg" alias="neutral:backgroundest"/>
|
||||
<ColorAlias name="shuttle text: fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="shuttle text: fill active" alias="alert:red"/>
|
||||
<ColorAlias name="silence" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="silence text" alias="neutral:foreground"/>
|
||||
<ColorAlias name="solo button: fill" alias="widget:bg"/>
|
||||
|
|
|
@ -386,7 +386,6 @@
|
|||
<ColorAlias name="send pan" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="shuttle" alias="widget:bg"/>
|
||||
<ColorAlias name="shuttle bg" alias="neutral:backgroundest"/>
|
||||
<ColorAlias name="shuttle text: fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="vari button: fill" alias="widget:bg"/>
|
||||
<ColorAlias name="vari button: fill active" alias="alert:ruddy"/>
|
||||
<ColorAlias name="silence" alias="theme:contrasting alt"/>
|
||||
|
|
|
@ -386,8 +386,6 @@
|
|||
<ColorAlias name="send pan" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="shuttle" alias="widget:bg"/>
|
||||
<ColorAlias name="shuttle bg" alias="neutral:backgroundest"/>
|
||||
<ColorAlias name="shuttle text: fill" alias="neutral:foreground2"/>
|
||||
<ColorAlias name="shuttle text: fill active" alias="alert:red"/>
|
||||
<ColorAlias name="silence" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="silence text" alias="neutral:foreground"/>
|
||||
<ColorAlias name="solo button: fill" alias="widget:bg"/>
|
||||
|
|
|
@ -385,8 +385,6 @@
|
|||
<ColorAlias name="send pan" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="shuttle" alias="widget:bg"/>
|
||||
<ColorAlias name="shuttle bg" alias="neutral:backgroundest"/>
|
||||
<ColorAlias name="shuttle text: fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="shuttle text: fill active" alias="alert:red"/>
|
||||
<ColorAlias name="silence" alias="theme:contrasting alt"/>
|
||||
<ColorAlias name="silence text" alias="neutral:foreground"/>
|
||||
<ColorAlias name="solo button: fill" alias="widget:bg"/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user