On 17 May 2002 09:32:27 -0400, Dan Espen wrote:
> 
> Olivier Chapuis <[EMAIL PROTECTED]> writes:
> > Heres the log:
> > 
> > * Implemented shadow text rendering.
> ...
> > A few comments.
> > - Shadow text rendering works only if Colorsets are used. I think this is
> > reasonable, but if someone really wants that shadow text rendering to work
> > with the "old" colors cfg I can do it (this is just boring and not really
> > pretty from the implementation point of view).
> 
> I have no desire to complicate my config by using colorsets,
> but I'd really like to use shadow text, especially in titlebars.

For me colorsets simplify config, not complicate it.

I don't think this duplicated functionality should be added (and then
removed in 3.0). This also requires adding fgsh color configuration in a
lot of places, because the default is usually not what user wants.

Dan, you should really start to use colorsets and benefit from all nice
features they will have in 2.6. If you worry about your users, I may think
about an automated convertion using fvwm-convert-2.6.

You should add 3 lines to get shadow text in window titles now (if you
don't use colorsets yet), copy these 4 colors from Style * BackColor etc:

  Colorset 1 fg A, bg B   # inactive window title fg+bg
  Colorset 2 fg C, bg D   # active window title fg+bg

  Style * Colorset 1, HilightColorset 2

If you want to add shadow colors to menus, convert these lines:

  MenuStyle * Foreground A, Background B, Greyed C
  MenuStyle * ActiveFore D, HilightBack E
  MenuStyle * MenuFace F

to:

  Colorset 5 fg A, bg B, Pixmap F  # inactive menu item fg+bg and face
  Colorset 6 fg D, bg E, Plain     # active menu item fg+bg
  Colorset 7 fg C, bg C, Plain     # greyed menu item fg

  MenuStyle * MenuColorset 5, ActiveColorset 6, GreyedColorset 7

Now add shadowsize to font, like:

  Style     * Font "shadowsize=3:xft:Luxi Mono:Bold:pixelsize=14"
  MenuStyle * Font "shadowsize=1:-adobe-helvetica-bold-r-*-*-*-120-*"

Optionally add fgsh to colorsets, try: fg gray90, fgsh gray40, bg gray20.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to