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:[EMAIL PROTECTED] | 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
