diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-30 17:38:20 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-30 17:41:11 -0400 |
commit | 5c12c421e7723cfbe1e668dd139695fcac275609 (patch) | |
tree | b66d4171fe822dc8ccddae1b60857320b437e210 | |
parent | 190c18aa5cc6e41c4483e90ec6a88feb447e3ecd (diff) |
new style for Gtk::Entry widgets
More legibility and easier to figure out what colors are used for what
-rw-r--r-- | gtk2_ardour/clearlooks.rc.in | 22 |
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 |