Re: FVWM: Vector/Pixmap feature suggestions

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Thu, 17 May 2001 21:51:44 +0000

On 17 May 2001 10:41:43 -0500, An Thi-Nguyen Le wrote:
>
> Version: current CVS
>
> There's already _at_0 for the shadow color and @1 for the highlight color
> when drawing vector lines for buttons. Is it a good idea to add _at_2 and @3
> or something like that for the foreground and background color?

I actually have a patch which does what you describe for a month already. :)

I do think that this is useful. I didn't mention this patch yet, because
we are now in the feature freeze and I am not very comfortable with a
limited vector functionality. To fully benefit an ability to draw using
background and foreground button colors we should extend vectors (lines)
to areas (rectangles, probably circle segments and so on). Lines are
usually only useful when drawing reliefs using shadow and highlight colors.
So, all this should be thought-out first.

> Also, for pixmaps in general, would it be possible to have colors in the
> xpm named 'Highlight' and 'Shadow' which would get cast to the highlight
> and shadow colors (and maybe 'Foreground' or 'Background')? ctwm does this,
> and I think maybe CDE but it's been a while.

Yes, such xpm's are used in CDE, for example in its panel.

This would be useful to have. Currently we, in fvwm-themes, solved this
problem by having gray reliefs for panel pixmaps. This works ok for most
of color schemes, but not for all. Of course the correct solution is to
use highlight and shadow colors in xpm (also called topShadowColor and
bottomShadowColor), so even on the red background the arrows would look
nice, with a relief based on the red color and not on the hardcoded gray.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu May 17 2001 - 16:52:53 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:51 BST