!-- On Wed 28.Aug'13 at 10:37:44 BST, Thomas Adam (tho...@fvwm.org), wrote: 
> On Wed, Aug 28, 2013 at 10:29:34AM +0100, James Griffin wrote:
> > !-- On Wed 28.Aug'13 at 10:22:01 BST, Thomas Adam (tho...@fvwm.org), wrote: 
> > > On 28 August 2013 10:14, James Griffin <j...@kontrol.kode5.net> wrote:
> > > > Hi
> > > >
> > > > I have a clock (rclock) in my tool bar which is fvwmbuttons and the 
> > > > clock
> > > > sits in its button as a square/rectangle. I wondered if there is a way 
> > > > to
> > > > get the corners of this button to be rounded.
> > > 
> > > Use XShaping to do this; you can apply a pixmap mask to FvwmButtons to
> > > get this effect.
> > > 
> > > -- Thomas Adam
> > 
> > Thanks Thomas. I've had a google but not much there, could you give me an
> > example? -- pleeaase :-)
> 
> Is Google considered a verb nowadays?
 
Yes, I believe it is. ;-)

> You need to define your own XPM pixmap which is rounded to however you want;
> use inkscape or The Gimp to produce such a file.  Then you'll need to define
> a Colorset to be applied to the FvwmButtons instance containing this clock,
> such as:
> 
>       Colorset 12 Shape some_pixmap.xpm
> 
> Then you apply that as a style to your FvwmButtons:
> 
>       *SomeFvwmButtonsInstance: Colorset 12
> 
> Read the FvwmTheme man page for more information.
> 
> -- Thomas Adam

Got that. I did think it would involve creating a pixmap, so thanks.
That's much clearer. 

Jamie.

-- 


James Griffin:  jmz at kontrol.kode5.net

[A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38]

Reply via email to