Re: FVWM: symbolic xpm colors (with FVWMCPP? )

From: Marcus Lundblad <ml_at_update.uu.se>
Date: Thu, 15 Jan 2004 19:59:27 +0100 (CET)

On Tue, 13 Jan 2004, Mikhael Goikhman wrote:

> On 13 Jan 2004 09:36:08 -0600, Shay Hill wrote:
> >
> > Is it possible to take my SetEnv defined colors and translate them into
> > symbolic colors useable by an xpm? This seems possible with FVWMCPP, but
> > I've got not idea where even to begin.
>
> No, FVWM does not support symbolic colors in XPM.
>
> If it ever supports symbolic colors (fg, bg, sh, hi) in XPM, then you
> will need to define them in the colorset that is used in the area where
> your XPM image is drawn.
>
Maybe it could support a syntax something like this (in a possible
future) (in the XPM):

". s cs1bg"
", s cs1hi"
": s cs1sh"

For enabling the use of several coloursets in the same file.
bg,fg,sh,hi (without a colourset) could refer to the colourset of the
"context" where the XPM is used (for example title bar).

I was also thinking of using XPMs with colours from my "theme" as
root image, but this would require creating temporary files (script,
perl etc.)
By the way, is it possible to "query" FVWM for the current definition of
coloursets via FvwmCommand? (for use in a script to set the root
image).

//Marcus

> But maybe if you explain what you need exactly there is a different way
> to achieve this than to use XPM symbolic colors (like used, say, in CDE).
> For example, you may generate XPM dynamically (using "FvwmCPP -debug
> -noread", or maybe "FvwmPerl -p" or a shell script) and use this
> generated image for your needs.
>
> 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.
>

--
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 Jan 15 2004 - 13:02:02 GMT

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