summaryrefslogtreecommitdiff
path: root/gtk2_ardour/clearlooks.rc.in
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-30 17:38:20 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-30 17:41:11 -0400
commit5c12c421e7723cfbe1e668dd139695fcac275609 (patch)
treeb66d4171fe822dc8ccddae1b60857320b437e210 /gtk2_ardour/clearlooks.rc.in
parent190c18aa5cc6e41c4483e90ec6a88feb447e3ecd (diff)
new style for Gtk::Entry widgets
More legibility and easier to figure out what colors are used for what
Diffstat (limited to 'gtk2_ardour/clearlooks.rc.in')
-rw-r--r--gtk2_ardour/clearlooks.rc.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/gtk2_ardour/clearlooks.rc.in b/gtk2_ardour/clearlooks.rc.in
index af36a3f4f4..4c7bcef5dd 100644
--- a/gtk2_ardour/clearlooks.rc.in
+++ b/gtk2_ardour/clearlooks.rc.in
@@ -146,6 +146,28 @@ style "default" = "medium_text"
}
}
+style "entry"
+{
+ # setting these two to zero avoids the focus indicator around the text
+
+ xthickness = 0
+ ythickness = 0
+
+ # special base + text for GtkEntry to aid with visibility during text entry
+
+ base[NORMAL] = @entry_base
+ base[PRELIGHT] = @entry_base
+ base[INSENSITIVE] = @entry_base
+ base[ACTIVE] = @entry_base_selected /* base for focused, selected text */
+ base[SELECTED] = @entry_base_selected /* base for non-focused, selected text */
+
+ text[NORMAL] = @entry_text
+ text[PRELIGHT] = @entry_text
+ text[INSENSITIVE] = shade (0.92, @entry_text)
+ text[ACTIVE] = @entry_text_selected
+ text[SELECTED] = @entry_text_selected
+}
+
style "treeview_parent_node"
{
# specifies *just* the color used for whole file rows when not selected