From 5c12c421e7723cfbe1e668dd139695fcac275609 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 30 Jun 2016 17:38:20 -0400 Subject: new style for Gtk::Entry widgets More legibility and easier to figure out what colors are used for what --- gtk2_ardour/clearlooks.rc.in | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gtk2_ardour/clearlooks.rc.in') 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 -- cgit v1.2.3