On 28 Jun 2002 07:58:12 +0200, Uwe Pross wrote: > > 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)
Currently you may just setup new constant colors: AddToFunc SetupDarkerRedColors + I Colorset 50 bg rgb:60/00/00, fg contrast # inactive + I Colorset 60 bg rgb:a0/40/40, fg contrast # active It is planned (but not finally) to add TintBg colorset option that makes this automatically, i.e. make colorset bg lighter, darker, more bluish. I would wait until the new colorset option names (including the current Tint that works on pixmaps) are finalized. 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
