Re: FVWM: Vector button decorations

From: Tavis Ormandy <taviso_at_sdf.lonestar.org>
Date: Thu, 13 May 2004 14:07:52 +0100

--On Thursday, May 13, 2004 14:32:48 +0200 Xavier Maillard
<zedek_at_gnu-rox.org> wrote:
>
> 1) Is it more powerfull to use vector buttons instead of XPM/PNG ? I
> mean what is best not to waste cycles ?

Well, they are both powerful, I use a background pixmap with alpha blending
and vectors stacked on top to draw the button emblems. The major advantage
of vectors (imho) is that they use Colorsets, so changing a window's
colorset updates the vectors to match.

In my experience, vectors are faster than using pixmaps for buttons, but i
dont have any stats to back that up :)

>
> 2) How can I produce my own window decorations (ie. buttons) ? Is there
> any tool that can graphically show me what I am typing (what vectors
> look like) ?

It's not too hard to write them (it is difficult at first, but it gets
easier), I think theres a perl script somewhere that can convert xfig
graphics into vectors, i think it's called eps2vector.

-- 
-------------------------------------
taviso_at_sdf.lonestar.org | finger me for my gpg key.
-------------------------------------------------------
--
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 Thu May 13 2004 - 08:09:40 BST

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