Re: FVWM: how to zoom a pixmap to use it in a button?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Tue, 10 Dec 2002 02:37:46 +0000

On 10 Dec 2002 09:19:07 +0800, dion king wrote:
>
> Thank you for your help :)
> I want to use image in the buttons of module FvwmButtons,
> not in the topbar of windows.

Yes, there are so many key, mouse and reset buttons out there
that you should be more specific.

> I configured the FvwmButtons like following:
>
> Font 5x7
> Back rgb:90/80/90
> Fore black
> Frame 1
> # 15x15 pixels per button, 4x4 pixels for the frame
> Geometry 904x49+0-0
> Rows 3
> Columns 60
> BoxSize fixed
> Padding 1 1
>
> # first row of buttons from left to right:
> (2x2+0+0, Icon mozillasmall.xpm, Action `Exec mozilla`)
> (2x2+2+0, Icon rxvt.xpm, Action `Exec exec rxvt`)
> ............
>
> But rxvt.xpm is too bigger to show on the 2x2 button.
> Some other xpm impages are also too bigger.
> Of course, I can zoom and save the image using gimp.
> But I am too lazy to do it for every big image :)
> Is there other way to solve it?

There is no currently way to zoom FvwmButtons Icon image internally.
You may zoom an image specified in the buttons Pixmap or Colorset
(with Pixmap or AspectPixmap). It is auto-zoomed when resized too.

Regards,
Mikhael.
--
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 Mon Dec 09 2002 - 20:39:27 GMT

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