Re: FVWM: Apply an Style option to an existing window

From: Uwe Pross <uwe.pross_at_e-technik.tu-chemnitz.de>
Date: Fri, 28 Jun 2002 07:58:12 +0200

On June 27, 2002 at 15:12 +0000, Mikhael Goikhman wrote:
>
> I see. Still I don't think colorsets are less suitable here than
> ForeColor, BackColor and HilightFore, HilightBack.
>
> For each color you want to use for windows (green, red) define 2 colorsets
> for inactive and active window once. Then just switch window colorsets:
>
> # define 3 color schemes, red, green, blue
> Colorset 50 fg black, bg rgb:d0/00/00, hi rgb:ff/00/00, sh rgb:a0/00/00
> Colorset 51 fg white, bg rgb:00/60/00, hi rgb:00/30/00, sh rgb:a0/90/00
> Colorset 52 fg white, bg rgb:00/00/40, hi rgb:00/00/20, sh rgb:a0/00/80
>
> AddToMenu windowops
> + "Use red color scheme" Style $n Colorset 50, HilightColorset 60
> + "Use green color scheme" Style $n Colorset 51, HilightColorset 61
> + "Use blue color scheme" Style $n Colorset 52, HilightColorset 62
>
> Then you may even add something like this if you really want:
>
> + "Make red color scheme lighter" Func1ChangingColorsets50And60
> + "Make red color scheme darker" Func2ChangingColorsets50And60
> + "Make red color scheme more cyan" ... :-)
>

Sounds reasonable.

One question is left: How would this Colorset change function look
like? (fvwm 2.5.1)

Uwe
-- 
+--------------------------------------------------
| Uwe Pross 
| mail : mailto:uwe.pross_at_e-technik.tu-chemnitz.de
| www  : http://www.tu-chemnitz.de/~uwp
+--------------------------------------------------
--
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 Fri Jun 28 2002 - 00:58:52 BST

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