lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0607241529280.6761@scrub.home>
Date:	Mon, 24 Jul 2006 15:37:19 +0200 (CEST)
From:	Roman Zippel <zippel@...ux-m68k.org>
To:	Sam Ravnborg <sam@...nborg.org>
cc:	LKML <linux-kernel@...r.kernel.org>, Andrew Morton <akpm@...l.org>
Subject: Re: [PATCH 3/3] kconfig/lxdialog: add bluetitle color scheme

Hi,

On Mon, 24 Jul 2006, Sam Ravnborg wrote:

> I blindly replaced yellow with blue.
> New version looks like this:
> static void set_bluetitle_theme(void)
> {
>         DLG_MODIFY(title,   COLOR_BLUE, COLOR_WHITE,  true);
>         DLG_MODIFY(tag,     COLOR_BLUE, COLOR_WHITE,  true);
>         DLG_MODIFY(tag_key, COLOR_BLUE, COLOR_WHITE,  true);
> }

The theme below should be a bit better and more consistent, selected text
is always white on blue with a yellow key character.

> The classic color scheme is quite readable on my display.

On mnay displays (especially lcd's) the difference between yellow and 
white is very small, so that the text almost disappears.

bye, Roman

---
 scripts/kconfig/lxdialog/util.c |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Index: linux-2.6-git/scripts/kconfig/lxdialog/util.c
===================================================================
--- linux-2.6-git.orig/scripts/kconfig/lxdialog/util.c	2006-07-24 15:00:16.000000000 +0200
+++ linux-2.6-git/scripts/kconfig/lxdialog/util.c	2006-07-24 15:27:20.000000000 +0200
@@ -104,14 +104,13 @@ static void set_blackbg_theme(void)
 
 static void set_bluetitle_theme(void)
 {
-	DLG_MODIFY(title, COLOR_BLUE, COLOR_WHITE,  true);
-	DLG_MODIFY(button_label_active, COLOR_BLUE, COLOR_BLUE,   true);
-	DLG_MODIFY(searchbox_title,     COLOR_BLUE, COLOR_WHITE,  true);
-	DLG_MODIFY(position_indicator,  COLOR_BLUE, COLOR_WHITE,  true);
-	DLG_MODIFY(tag,                 COLOR_BLUE, COLOR_WHITE,  true);
-	DLG_MODIFY(tag_selected,        COLOR_BLUE, COLOR_BLUE,   true);
-	DLG_MODIFY(tag_key,             COLOR_BLUE, COLOR_WHITE,  true);
-	DLG_MODIFY(tag_key_selected,    COLOR_BLUE, COLOR_BLUE,   true);
+	DLG_MODIFY(title, 		COLOR_BLUE,   COLOR_WHITE,  true);
+	DLG_MODIFY(button_key_active,	COLOR_YELLOW, COLOR_BLUE,   true);
+	DLG_MODIFY(button_label_active,	COLOR_WHITE,  COLOR_BLUE,   true);
+	DLG_MODIFY(searchbox_title,	COLOR_BLUE,   COLOR_WHITE,  true);
+	DLG_MODIFY(position_indicator,	COLOR_BLUE,   COLOR_WHITE,  true);
+	DLG_MODIFY(tag,			COLOR_BLUE,   COLOR_WHITE,  true);
+	DLG_MODIFY(tag_key,		COLOR_BLUE,   COLOR_WHITE,  true);
 }
 
 static void init_one_color(struct dialog_color *color)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ