[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stipple in menu?
From: |
Miles Bader |
Subject: |
Re: stipple in menu? |
Date: |
21 Apr 2002 23:20:03 +0900 |
address@hidden (Pavel Janík) writes:
> > Doesn't this assume that the menu bar is using black on light-gray.
> > My menu bar is using white on (some dark shade of green)
>
> My code is only proof of concept. The value gray60 is arbitrary (it looks
> OK on my screen). Can you propose the reasonable default?
Try using x_alloc_lighter_color (in xterm.c), with DELTA > 1 if fg < bg,
and DELTA < 1 if fg > bg.
-Miles
--
"I distrust a research person who is always obviously busy on a task."
--Robert Frosch, VP, GM Research