On Wed, May 08, 2002 at 01:14:46PM +0200, Dominik Vogt wrote:
> On Wed, May 08, 2002 at 12:20:45PM +0200, Olivier Chapuis wrote:
> > On Wed, May 08, 2002 at 10:12:57AM +0200, Dominik Vogt wrote:
> > > On Tue, May 07, 2002 at 10:22:13PM +0200, Olivier Chapuis wrote:
> > > > About average and tinting. Tint/TintMask allows to tint a pixmap,
> > > > my pbs is: do we have to compute the average bg after tinting
> > > > or not. With Tint, as the bg is also tinted, it seems that we have
> > > > to compute the average bg before tinting (but sh/hi maybe "wrong")
> > > > as with TintMask nothing is clear for me.
> > > 
> > > Can you post a few examples that demonstrate the new features?
> > >
> > 
> > If it is the Tint feature you are intersted on here an example:
> > 
> > Colorset 50 TiledPixmap background/fvwm-flying.xpm, NoTint
> > Colorset 51 TiledPixmap background/fvwm-flying.xpm, Tint blue 20
> > Colorset 52 TiledPixmap background/fvwm-flying.xpm, Tint yellow 20
> > Colorset 53 TiledPixmap background/fvwm-flying.xpm, Tint black 30
> > 
> > DestroyModuleConfig FvwmBacker: *
> > *FvwmBacker: Command (Desk 0) Colorset 50
> > *FvwmBacker: Command (Desk 1) Colorset 51
> > *FvwmBacker: Command (Desk 2) Colorset 52
> > *FvwmBacker: Command (Desk 3) Colorset 53
> > 
> > So one xpm and 4 differents backgrounds for the 4 desks I use. 
> > Now an example where average/contrast come into play with tint:
> > 
> > # standard item
> > Colorset 17 fg contrast, bg average, \
> >     TiledPixmap background/stone.xpm, NoShape
> > # active item
> > Colorset 18 fg contrast, bg average, \
> >     TiledPixmap background/stone.xpm,  Tint red 30, NoShape
> > # iconified item
> > Colorset 19 fg contrast, bg average,  \
> >     TiledPixmap background/stone.xpm,  Tint white 30, NoShape
> > # pointed item
> > Colorset 20 fg contrast, bg average,  \
> >     TiledPixmap background/stone.xpm, NoShape
> > # modules special background
> > Colorset 12 fg black, bg rgb:80/A0/A0, \
> >     Transparent, NoShape 
> > 
> > *FvwmIconMan: *colorset             12
> > *FvwmIconMan: *iconcolorset 19
> > *FvwmIconMan: *plaincolorset        17
> > *FvwmIconMan: *selectcolorset       20
> > *FvwmIconMan: *focuscolorset        18
> > *FvwmIconMan: *focusandselectcolorset 20
> > 
> > So again one xpm and various colors. plain iconman buttons are
> > ok. But, at the present time, others does not have good fg,sh and hi
> > colours as stone.xpm gives a dark average bg colors and the corresponding
> > sh, hi and contrast colors are computed from this colors. For example
> > all contrast fg colorset are almost white which is not correct for colorset
> > 19 which has grey bg in the average.
> 
> Very nice.  However, FvwmIconMan does not refresh the transparent
> parts of the background when they are obscured and revealed again.
>

I cannot reproduce this. Do you use the ParenatlRelativity style?
This style must be set for any apps which use a transparent colorset.
I've a plan to do this automaticaly.

Olivier
--
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