Re: FVWM: trouble using AspectPixmap ...

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 27 Nov 2002 10:31:18 +0000

On 27 Nov 2002 14:43:11 +1100, Cameron Simpson wrote:
>
> Annoyingly, this seemed to work yesterday :-(
> I'm using 2.5.4, full colour display.
>
> I have the following base menu config:
>
> Colorset 2 fg rgb:90/ff/ff, bg rgb:00/00/20
> MenuStyle "*" AutomaticHotkeys, Animation, SeparatorsShort, TrianglesRelief, BorderWidth 0, \
> HiLight DeepSkyBlue, Shadow paleblue, \
> MenuColorset 2
>
> That all seems good.

This is not good, please take a look at your X output.
There are no such MenuStyle options "HiLight" and "Shadow".

> Now, I have a menu-backdrop chooser that says:
>
> ColorSet 2 plain, bg darkgreen, Tint cyan 50, Alpha 70, AspectPixmap "/path/to/thing.png"
>
> The "bg darkgreen" is a debugging setting to make sure the command got applied.
> Anyway, the backdrop pixmap never seems to be applied.
> Am I doing something obviously wrong here?

Works fine for me.

> Maybe reapply the MenuColorset?

You don't need to reapply MenuStyle. Colorsets start to work in all places
where defined in the moment you change them.

> Also, my final design probably wants to look like this:
>
> Colorset 2 fg rgb:90/ff/ff, bg rgb:00/00/20
> Colorset 3 fg yellow, bg rgb:00/00/50
> Colorset 4 fg darkgray, bg black
> MenuStyle "*" AutomaticHotkeys, Animation, SeparatorsShort, TrianglesRelief, BorderWidth 0, \
> HiLight DeepSkyBlue, Shadow paleblue, \
> MenuColorset 2, ActiveFore, HilightBack, ActiveColorset 3, GreyedColorset 4
>
> I presume I'll have to apply the AspectPixmap to all three colorsets, or
> maybe discard them and just use one colorset?

Define all three, but first clean it, remove "HiLight" and "Shadow" as
unexisting options and define shadow colors (sh, hi, fgsh) in colorsets
if needed.

Only the first colorset uses AspectPixmap, other two do not use any
images, so if you define AspectPixmap there, it is ignored.

There may be currently some problems with the new functionality.
For example if you define any *Alpha in the greyed colorset, its
background becomes black until Restart, so just don't do it for now.

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 Wed Nov 27 2002 - 04:32:43 GMT

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