Hack to return the rec enable buttons back to their original color after disarming...
[ardour.git] / gtk2_ardour / ardour2_ui.rc
index 38ac346b8fe05e12252f903950cd00c374827685..ea54d7461539f3c08202f4b875df762308622eb3 100644 (file)
@@ -184,23 +184,58 @@ style "small_red_active_and_selected_button" = "small_button"
        bg[SELECTED] = { 1.0, 0, 0}
 }
 
+style "gain_fader"
+{
+       bg[NORMAL] =   { 0.269, 0.269, 0.300}
+       bg[ACTIVE] =   { 0.152, 0.152, 0.168 }
+}
+
 style "track_rec_enable_button" = "small_button"
+{
+       bg[ACTIVE] = { 0.30, 0.30, 0.35 }
+}
+
+style "track_rec_enable_button_active" = "small_button"
 {
        fg[SELECTED] = { 0.0, 0.0, 0.0 }
        fg[ACTIVE] =   { 0.0, 0.0, 0.0 }
        fg[PRELIGHT] = { 0.0, 0.0, 0.0 }
+       fg[NORMAL] = { 0.0, 0.0, 0.0 }
 
-       bg[ACTIVE] =   { 1.0, 0.0, 0.0 } # actively recording
-       bg[SELECTED] =   { 0.91, 0.68, 0.68} # enabled, not active
+       bg[NORMAL] =   { 1.0, 0.0, 0.0 }
+       bg[ACTIVE] =   { 1.0, 0.0, 0.0 }
+       bg[SELECTED] =   { 1.0, 0.0, 0.0 }
+       bg[PRELIGHT] =   { 1.0, 0.0, 0.0 }
 }
 
-style "gain_fader"
+style "track_rec_enable_button_alternate" = "small_button"
 {
-       bg[NORMAL] =   { 0.269, 0.269, 0.300}
-       bg[ACTIVE] =   { 0.152, 0.152, 0.168 }
+       fg[SELECTED] = { 0.0, 0.0, 0.0 }
+       fg[ACTIVE] =   { 0.0, 0.0, 0.0 }
+       fg[PRELIGHT] = { 0.0, 0.0, 0.0 }
+       fg[NORMAL] = { 0.0, 0.0, 0.0 }
+
+       bg[NORMAL] =   { 0.91, 0.68, 0.68}
+       bg[ACTIVE] =   { 0.91, 0.68, 0.68}
+       bg[SELECTED] =   { 0.91, 0.68, 0.68}
+       bg[PRELIGHT] =   { 0.91, 0.68, 0.68}
+}
+
+style "mixer_track_rec_enable_button" = "track_rec_enable_button"
+{
+       font_name = "sans 7"
+       xthickness = 0
+       ythickness = 0
 }
 
-style "mixer_rec_enable_button" = "track_rec_enable_button"
+style "mixer_track_rec_enable_button_alternate" = "track_rec_enable_button_alternate"
+{
+       font_name = "sans 7"
+       xthickness = 0
+       ythickness = 0
+}
+
+style "mixer_track_rec_enable_button_active" = "track_rec_enable_button_active"
 {
        font_name = "sans 7"
        xthickness = 0
@@ -209,20 +244,33 @@ style "mixer_rec_enable_button" = "track_rec_enable_button"
 
 style "solo_button" = "small_button"
 {
-       bg[PRELIGHT] = { 0, 1.0, 0 }
-       bg[ACTIVE] = { 0.66, 0.97, 0.19 }
+}
+
+style "solo_button_alternate" = "small_button"
+{
+       bg[NORMAL] = { 0.19, 0.97, 0.69 } # solo-safe
+       bg[ACTIVE] = { 0.19, 0.97, 0.69 } # solo-safe
+       bg[SELECTED] = { 0.19, 0.97, 0.69 } # solo-safe
+       bg[PRELIGHT] = { 0.19, 0.97, 0.69 } # solo-safe
 
-       fg[PRELIGHT] = { 0, 0, 0 }
        fg[ACTIVE] = { 0, 0, 0 }
+       fg[SELECTED] = { 0, 0, 0 }
+       fg[NORMAL] = { 0, 0, 0 }
+       fg[PRELIGHT] = { 0, 0, 0 }
 }
 
-style "safe_solo_button" = "small_button"
+
+style "solo_button_active" = "small_button"
 {
-       bg[PRELIGHT] = { 0, 1.0, 0 }
-       bg[ACTIVE] = { 0.19, 0.97, 0.69 }
+       bg[NORMAL] = { 0.66, 0.97, 0.19 }   # solo
+       bg[ACTIVE] = { 0.66, 0.97, 0.19 }   # solo
+       bg[SELECTED] = { 0.66, 0.97, 0.19 }   # solo
+       bg[PRELIGHT] = { 0.66, 0.97, 0.19 }   # solo
 
-       fg[PRELIGHT] = { 0, 0, 0 }
        fg[ACTIVE] = { 0, 0, 0 }
+       fg[SELECTED] = { 0, 0, 0 }
+       fg[NORMAL] = { 0, 0, 0 }
+       fg[PRELIGHT] = { 0, 0, 0 }
 }
 
 style "mixer_solo_button" = "solo_button"
@@ -230,29 +278,72 @@ style "mixer_solo_button" = "solo_button"
        font_name = "sans 7"
        xthickness = 0
        ythickness = 0
-
 }
 
-style "mixer_safe_solo_button" = "safe_solo_button"
+style "mixer_solo_button_alternate" = "solo_button_alternate"
+{
+       font_name = "sans 7"
+       xthickness = 0
+       ythickness = 0
+}
+style "mixer_solo_button_active" = "solo_button_active"
 {
        font_name = "sans 7"
        xthickness = 0
        ythickness = 0
-
 }
 
 
 style "mute_button" = "small_button"
 {
-       bg[PRELIGHT] = { 1.0, 0.65, 0.13 }
+}
+
+style "mute_button_alternate" = "small_button"
+{
        bg[ACTIVE] = { 1.0, 0.98, 0.53 }
-       bg[SELECTED] = { 0.90, 0.89, 0.73 }
+       bg[NORMAL] = { 1.0, 0.98, 0.53 }
+       bg[SELECTED] = { 1.0, 0.98, 0.53 }
+       bg[PRELIGHT] = { 1.0, 0.98, 0.53 }
 
+       fg[SELECTED] = { 0, 0, 0 }
+       fg[ACTIVE] = { 0, 0, 0 }
+       fg[NORMAL] = { 0, 0, 0 }
        fg[PRELIGHT] = { 0, 0, 0 }
+}
+
+style "mute_button_active" = "small_button"
+{
+       bg[NORMAL] = { 0.90, 0.89, 0.73 }
+       bg[ACTIVE] = { 0.90, 0.89, 0.73 }
+       bg[PRELIGHT] = { 0.90, 0.89, 0.73 }
+       bg[SELECTED] = { 0.90, 0.89, 0.73 }
+
        fg[SELECTED] = { 0, 0, 0 }
        fg[ACTIVE] = { 0, 0, 0 }
+       fg[NORMAL] = { 0, 0, 0 }
+       fg[PRELIGHT] = { 0, 0, 0 }
+}
+
+style "mixer_mute_button" = "mute_button"
+{
+       font_name = "sans 7"
+       xthickness = 0
+       ythickness = 0
 }
 
+style "mixer_mute_button_alternate" = "mute_button_alternate"
+{
+       font_name = "sans 7"
+       xthickness = 0
+       ythickness = 0
+}
+
+style "mixer_mute_button_active" = "mute_button_active"
+{
+       font_name = "sans 7"
+       xthickness = 0
+       ythickness = 0
+}
 
 style "multiline_combo" = "small_button"
 {
@@ -291,9 +382,19 @@ style "time_button" = "default_buttons_menus"
 
 style "transport_button"
 {
+}
+
+style "transport_button_active"
+{
+       bg[NORMAL] = { 0.50, 1.0, 0.50 }
        bg[ACTIVE] = { 0.50, 1.0, 0.50 }
-       fg[ACTIVE] = { 1, 1, 1 }
-       fg[PRELIGHT] = { 1, 1, 1 }
+       bg[SELECTED] = { 0.50, 1.0, 0.50 }
+       bg[PRELIGHT] = { 0.50, 1.0, 0.50 }
+
+       fg[NORMAL] = { 0, 0, 0 }
+       fg[PRELIGHT] = { 0, 0, 0 }
+       fg[SELECTED] = { 0, 0, 0 }
+       fg[ACTIVE] = { 0, 0, 0 }
 }
 
 style "transport_rec_button"
@@ -1077,16 +1178,26 @@ widget "*MixerSendSwitch*" style "very_small_red_active_and_selected_button"
 widget "*OptionEditorToggleButton" style "small_red_active_and_selected_button"
 widget "*NewSessionDialogButton" style "small_red_active_and_selected_button"
 widget "*RecordEnableButton" style "track_rec_enable_button"
-widget "*RecordEnableButton*" style "track_rec_enable_button"
-widget "*MuteButton*" style "mute_button"
+widget "*RecordEnableButton-active" style "track_rec_enable_button_active"
+widget "*RecordEnableButton-alternate" style "track_rec_enable_button_alternate"
+widget "*MixerRecordEnableButton" style "mixer_track_rec_enable_button"
+widget "*MixerRecordEnableButton-active" style "mixer_track_rec_enable_button_active"
+widget "*MixerRecordEnableButton-alternate" style "mixer_track_rec_enable_button_alternate"
+widget "*MuteButton" style "mute_button"
+widget "*MuteButton-alternate" style "mute_button_alternate"
+widget "*MuteButton-active" style "mute_button_active"
+widget "*MixerMuteButton" style "mixer_mute_button"
+widget "*MixerMuteButton-alternate" style "mixer_mute_button_alternate"
+widget "*MixerMuteButton-active" style "mixer_mute_button_active"
+widget "*SoloButton" style "solo_button"
+widget "*SoloButton-alternate" style "solo_button_alternate"
+widget "*SoloButton-active" style "solo_button_active"
+widget "*MixerSoloButton" style "mixer_solo_button"
+widget "*MixerSoloButton-alternate" style "mixer_solo_button_alternate"
+widget "*MixerSoloButton-active" style "mixer_solo_button_active"
 widget "*TrackLoopButton*" style "track_loop_button"
 widget "*PanAutomationLineSelector*" style "multiline_combo"
 widget "*EditorTimeButton*" style "time_button"
-widget "*EditorMixerButton*" style "default_buttons_menus"
-widget "*SoloButton*" style "solo_button"
-widget "*SoloButton.*" style "solo_button"
-widget "*SafeSoloButton*" style "safe_solo_button"
-widget "*SafeSoloButton.*" style "safe_solo_button"
 widget "*MixerPhaseInvertButton*" style "very_small_button"
 widget "*MixerPhaseInvertButton.*" style "very_small_button"
 widget "*MixerAutomationRecordingButton*" style "very_small_button"
@@ -1104,7 +1215,7 @@ widget "*MixerCommentButton*" style "very_small_button"
 widget "*EditGroupButton" style "very_small_button"
 widget "*EditGroupButtonLabel" style "very_small_button"
 widget "*TransportButton" style "transport_button"
-widget "*TransportButton*" style "transport_button"
+widget "*TransportButton-active" style "transport_button_active"
 widget "*ShuttleButton" style "transport_button"
 widget "*ShuttleButton*" style "transport_button"
 widget "*ShuttleDisplay" style "transport_button"