diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-10-26 21:01:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-10-26 21:01:14 +0000 |
commit | 51ab5ccabf432540ca935065f6c6f40a96f42dad (patch) | |
tree | a5f062738bcedc33cd55b176168d532e4cc6d189 /gtk2_ardour/ardour3_styles.rc.in | |
parent | ae3eb6e3f4f270a03ff297d1bbe7cd3f3a2159a9 (diff) |
new ArdourButton class, to start to provide more control over how our buttons work and appear; use ArdourButtons for monitor, solo isolate and solo safe buttons, and in the processor box; don't save UI config file (canvas colors) to the user's home dir unless one or more parameters were modified by the user
git-svn-id: svn://localhost/ardour2/branches/3.0@10311 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour3_styles.rc.in')
-rw-r--r-- | gtk2_ardour/ardour3_styles.rc.in | 138 |
1 files changed, 7 insertions, 131 deletions
diff --git a/gtk2_ardour/ardour3_styles.rc.in b/gtk2_ardour/ardour3_styles.rc.in index 634768e6f6..3b3ff039bf 100644 --- a/gtk2_ardour/ardour3_styles.rc.in +++ b/gtk2_ardour/ardour3_styles.rc.in @@ -148,52 +148,16 @@ style "mixer_track_rec_enable_button_active" = "track_rec_enable_button_active" ythickness = 0 } -style "monitor_input_button" = "small_button" +style "monitor" = "small_button" { - fg[NORMAL] = darker(@@COLPREFIX@_fg) - fg[PRELIGHT] = darker(@@COLPREFIX@_fg) - bg[NORMAL] = mix(0.1,@@COLPREFIX@_monitor,darker(@@COLPREFIX@_bg)) - bg[PRELIGHT] = mix(0.1,@@COLPREFIX@_somewhat_bright_indicator,darker(@@COLPREFIX@_bg)) } -style "monitor_input_button_active" = "small_button" +style "solo_isolate" = "very_small_text" { - fg[NORMAL] = @@COLPREFIX@_fg - fg[PRELIGHT] = @@COLPREFIX@_fg - bg[NORMAL] = mix (0.8, @@COLPREFIX@_monitor, darker (@@COLPREFIX@_bg)) - bg[PRELIGHT] = mix (0.8, @@COLPREFIX@_monitor, darker (@@COLPREFIX@_bg)) } -style "monitor_input_button_alternate" = "small_button" +style "solo_safe" = "very_small_text" { - fg[NORMAL] = @@COLPREFIX@_fg - fg[PRELIGHT] = @@COLPREFIX@_fg - bg[NORMAL] = mix(0.5,@@COLPREFIX@_monitor,darker(@@COLPREFIX@_bg)) - bg[PRELIGHT] = mix(0.5,@@COLPREFIX@_monitor,darker(@@COLPREFIX@_bg)) -} - -style "monitor_disk_button" = "small_button" -{ - fg[NORMAL] = darker(@@COLPREFIX@_fg) - fg[PRELIGHT] = darker(@@COLPREFIX@_fg) - bg[NORMAL] = mix(0.1,@@COLPREFIX@_monitor,darker(@@COLPREFIX@_bg)) - bg[PRELIGHT] = mix(0.1,@@COLPREFIX@_monitor,darker(@@COLPREFIX@_bg)) -} - -style "monitor_disk_button_active" = "small_button" -{ - fg[NORMAL] = @@COLPREFIX@_fg - fg[PRELIGHT] = @@COLPREFIX@_fg - bg[NORMAL] = @@COLPREFIX@_monitor - bg[PRELIGHT] = @@COLPREFIX@_monitor -} - -style "monitor_disk_button_alternate" = "small_button" -{ - fg[NORMAL] = @@COLPREFIX@_fg - fg[PRELIGHT] = @@COLPREFIX@_fg - bg[NORMAL] = mix(0.5,@@COLPREFIX@_monitor,darker(@@COLPREFIX@_bg)) - bg[PRELIGHT] = mix(0.5,@@COLPREFIX@_monitor,darker(@@COLPREFIX@_bg)) } style "solo_button" = "small_button" @@ -203,18 +167,6 @@ style "solo_button" = "small_button" fg[ACTIVE] = @@COLPREFIX@_darkest } -style "solo_isolate_led" -{ - fg[NORMAL] = mix(0.2,@@COLPREFIX@_isolate, @@COLPREFIX@_darkest) - fg[ACTIVE] = @@COLPREFIX@_isolate -} - -style "solo_safe_led" -{ - fg[NORMAL] = mix(0.2,@@COLPREFIX@_isolate, @@COLPREFIX@_darkest) - fg[ACTIVE] = @@COLPREFIX@_isolate -} - style "solo_button_alternate" = "small_button" { # @@ -263,6 +215,10 @@ style "solo_button_active" = "small_button" fg[PRELIGHT] = @@COLPREFIX@_darkest } +style "processor" = "small_text" +{ +} + style "mixer_invert_button" = "small_button" { bg[ACTIVE] = @@COLPREFIX@_not_so_bright_indicator @@ -294,42 +250,6 @@ style "mixer_solo_button_active" = "solo_button_active" ythickness = 0 } -style "mixer_monitor_input" = "monitor_input_button" -{ - xthickness = 0 - ythickness = 0 -} - -style "mixer_monitor_input_active" = "monitor_input_button_active" -{ - xthickness = 0 - ythickness = 0 -} - -style "mixer_monitor_input_alternate" = "monitor_input_button_alternate" -{ - xthickness = 0 - ythickness = 0 -} - -style "mixer_monitor_disk" = "monitor_disk_button" -{ - xthickness = 0 - ythickness = 0 -} - -style "mixer_monitor_disk_active" = "monitor_disk_button_active" -{ - xthickness = 0 - ythickness = 0 -} - -style "mixer_monitor_disk_alternate" = "monitor_disk_button_alternate" -{ - xthickness = 0 - ythickness = 0 -} - style "monitor_opt_button" = "small_button" { bg[NORMAL] = mix(0.1,@@COLPREFIX@_not_so_bright_indicator,@@COLPREFIX@_bg) @@ -985,14 +905,6 @@ style "processor_list" = "very_small_text" bg[NORMAL] = @@COLPREFIX@_darkest bg[ACTIVE] = shade (1.8, @@COLPREFIX@_fg_selected) fg[ACTIVE] = @@COLPREFIX@_darkest - GtkCheckButton::indicator-size = 10 - GtkCheckButton::indicator-spacing = 0 -} - -# Colour of a processor frame when it is selected -style "processor_frame_selected" -{ - bg[NORMAL] = @@COLPREFIX@_fg_selected } # Colour of a processor frame when it is a send whose level is being controller by the fader @@ -1001,42 +913,6 @@ style "processor_frame_active_send" bg[NORMAL] = @@COLPREFIX@_send_fg } -# Fader processor's background -style "processor_fader" -{ - bg[NORMAL] = @@COLPREFIX@_processor_fader_bg -} - -# Fader processor's frame -style "processor_fader_frame" -{ -bg[NORMAL] = @@COLPREFIX@_processor_fader_frame -} - -# Pre-fader processor's background -style "processor_prefader" -{ - bg[NORMAL] = @@COLPREFIX@_processor_prefader -} - -# Pre-fader processor's frame -style "processor_prefader_frame" -{ - bg[NORMAL] = @@COLPREFIX@_processor_prefader_frame -} - -# Post-fader processor's background -style "processor_postfader" -{ - bg[NORMAL] = @@COLPREFIX@_processor_postfader -} - -# Post-fader processor's frame -style "processor_postfader_frame" -{ - bg[NORMAL] = @@COLPREFIX@_processor_postfader_frame -} - # MixerPanZone: # # the NORMAL fg color is used for the pan puck |