Re: FVWM: Shadow on FvwmButtons

From: Johan Svedberg <johan_at_svedberg.pp.se>
Date: Fri, 23 Apr 2004 10:48:54 +0200

* Apr 22 01:33 Mikhael Goikhman <migo_at_homemail.com>:
> On 21 Apr 2004 21:32:40 +0200, Johan Svedberg wrote:
> >
> > I've created a nice white colored bar using FvwmButtons, so I
> > thought a black shadow would look nice on it. How would I accomplish
> > this? I've tried:
> >
> > Colorset 2 Foreground black, Background white, Shadow black
> > *FvwmButtons: Colorset 2
> >
> > But that doesn't seem to create a shadow on it?
>
> Works for me as expected. What is your full FvwmButtons configuration?
> Do you mean "Hilight black" in the colorset defenition too?

I don't see any difference if I add that either. There is a screenshot
at http://johan.svedberg.pp.se/files/tmp/FvwmButtons.png. Strange, I
must be doing something wrong. Here is the full relavent configuration:

Style "FvwmButtons" BorderWidth 0, ClickToFocus, NoHandles, NoTitle, StaysOnTop, Sticky, WindowListSkip

SetEnv FvwmButtonsBorderWidth 0
SetEnv FvwmButtonsHeight 32

PipeRead `printf "SetEnv FvwmButtonsWidth "; expr $[vp.width] - $[FvwmButtonsBorderWidth] - $[FvwmButtonsBorderWidth]`

*FvwmButtons: BoxSize smart
*FvwmButtons: Colorset 2
*FvwmButtons: Columns 4
*FvwmButtons: Font None
*FvwmButtons: Frame 0
*FvwmButtons: Geometry $[FvwmButtonsWidth]x$[FvwmButtonsHeight]+0-0
*FvwmButtons: Padding 0 0
*FvwmButtons: Rows 1
*FvwmButtons: (1x1+0+0, Padding 5 8, Swallow "XClock" 'Exec xclock -bg white -fg black -face "Bitstream Vera Sans:bold:size=8" -digital -strftime "%b %d %R" -padding 0')
*FvwmButtons: (1x1-0+0, Padding 0 3, Swallow "FvwmPager" 'Module FvwmPager')

Colorset 2 Foreground black, Background white, Shadow black

-- 
Johan Svedberg, johan_at_svedberg.pp.se, http://johan.svedberg.pp.se/
--
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 Apr 23 2004 - 03:51:22 BST

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