From 09acd5f8b4378af0a76d45ed22b0d89a36e00488 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 22 Jan 2023 17:35:37 -0700 Subject: [PATCH] add new gtk style name for "shaded entry", used in web-style search entry --- gtk2_ardour/clearlooks.rc.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gtk2_ardour/clearlooks.rc.in b/gtk2_ardour/clearlooks.rc.in index 1f345ed3db..d21388832a 100644 --- a/gtk2_ardour/clearlooks.rc.in +++ b/gtk2_ardour/clearlooks.rc.in @@ -163,6 +163,15 @@ style "entry" text[SELECTED] = @fg_selected } +style "shaded_entry" = "entry" +{ + base[NORMAL] = shade(0.5, @background) + base[PRELIGHT] = shade(0.5, @background) + base[INSENSITIVE] = shade(0.5, @background) + base[ACTIVE] = shade(0.5, @background) + base[SELECTED] = shade(0.5, @background) +} + style "spin_button" = "entry" { engine "clearlooks" @@ -1271,3 +1280,5 @@ widget "*VCALabelBar*" style:highest "vca_label_bar" widget "*TextOnBackground" style:highest "text_on_bg" widget "*LargeTextEntry" style:highest "large_text" widget "*LargeTextEntry*" style:highest "large_text" + +widget "*ShadedEntry" style:highest "shaded_entry"