lkml.org 
[lkml]   [2006]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-07-24 15:41    [W:0.066 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site