From 5803f26c518556b9a4661cf16f5c008e50aad10a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 2 Sep 2014 05:07:41 +0200 Subject: [PATCH] add style for BarController SpinButton --- gtk2_ardour/ardour3_styles.rc.in | 17 +++++++++++++++++ gtk2_ardour/ardour3_widget_list.rc | 3 +++ 2 files changed, 20 insertions(+) diff --git a/gtk2_ardour/ardour3_styles.rc.in b/gtk2_ardour/ardour3_styles.rc.in index 6d8998fd9c..6e36565065 100644 --- a/gtk2_ardour/ardour3_styles.rc.in +++ b/gtk2_ardour/ardour3_styles.rc.in @@ -647,6 +647,23 @@ style "small_entry" = "small_text" base[SELECTED] = @@COLPREFIX@_base } +style "small_spinner" = "small_text" +{ + xthickness = 0 + ythickness = 0 + fg[NORMAL] = @@COLPREFIX@_text + fg[ACTIVE] = @@COLPREFIX@_contrasting_indicator + fg[SELECTED] = @@COLPREFIX@_fg_selected + + text[NORMAL] = @@COLPREFIX@_text + text[ACTIVE] = @@COLPREFIX@_text + text[SELECTED] = @@COLPREFIX@_fg_selected + + base[NORMAL] = @@COLPREFIX@_base + base[ACTIVE] = @@COLPREFIX@_base + base[SELECTED] = @@COLPREFIX@_base +} + style "red_active_small_entry" = "small_entry" { fg[ACTIVE] = @@COLPREFIX@_text diff --git a/gtk2_ardour/ardour3_widget_list.rc b/gtk2_ardour/ardour3_widget_list.rc index 6f8fda6906..0d76dde59c 100644 --- a/gtk2_ardour/ardour3_widget_list.rc +++ b/gtk2_ardour/ardour3_widget_list.rc @@ -290,6 +290,9 @@ widget "*PluginLoadButton" style:highest "small_button" widget "*PluginLoadButton*" style:highest "small_button" widget "*PluginEditorButton" style:highest "default_toggle_button" +widget "*BarControlSpinner" style:highest "small_spinner" +widget "*BarControlSpinner*" style:highest "small_spinner" + widget "*meterstripPPM" style:highest "meter_strip_ppm" widget "*meterstripDPM" style:highest "meter_strip_dpm" widget "*meterstripVU" style:highest "meter_strip_vu"