summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-09-02 05:07:41 +0200
committerRobin Gareus <robin@gareus.org>2014-09-02 05:14:22 +0200
commit5803f26c518556b9a4661cf16f5c008e50aad10a (patch)
tree74377fba3e4508c34957ae6e25407d515da9f449
parentefb03f4596df0913e2600fdafa02fb258552464c (diff)
add style for BarController SpinButton
-rw-r--r--gtk2_ardour/ardour3_styles.rc.in17
-rw-r--r--gtk2_ardour/ardour3_widget_list.rc3
2 files changed, 20 insertions, 0 deletions
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"