Re: FVWM: Icon b/g colour?

From: Neil Bird <neil.bird_at_rdel.co.uk>
Date: Fri, 17 Mar 2000 13:06:17 +0000

Andreas Scherbaum wrote:
> And how can i change the color for inactive buttons on the titelbar?
> I have set a white font on a black background for all inactive windows.
> Now fvwm is drawing every vector button with black on black
> and also the little position window, if i'm moving or resizing a window.
> Can i change this behavior?

  I think I know this one!

  You'll need to either duplicate the titlebar defs. in your
[AddTo]ButtonStyle command [by doing a ButtonStyle with the title-bar
sutff ,*then* an AddToButtonStyle with your actual button decor. This'll
draw the button is]n two passes: one with the title-bar decs., one with
the button decs. You can AddTo as many times as you want; each will add a
layer of drawing to the button.


  Simpler, and probably what you want, is to bung the UseTitleStyle flag
on the button. If you want all your buttons to inherit title-bar styles,
just do:

ButtonStyle All -- UseTitleStyle

  ... before doing other ButtonStyles. I put 'Raised' in there too.


  Note that this *doesn't* draw the title-bar under the button first, then
draw the button; rather, it draws the button first /in the same way/ as it
draws the title-bar.

  I'd prefer the former, since the way it is when you have tiled pixmaps,
the buttons restart the tiling, so it doesn't match up with the
title-bar's tiling, but there you go ...

-- 
=====================- http://www.racaldefence.com/ -===================
  Neil Bird                      |
                                 |            This .signature is
    mailto:neil.bird_at_rdel.co.uk  |          certified Y2K compliant
--
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 Mar 17 2000 - 07:06:48 GMT

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