Re: FVWM: FVWM PixmapButton patch

From: Ian Spielman <ispielman_at_uoknor.edu>
Date: Sat, 2 Mar 1996 07:46:35 -0600 (CST)

On Sat, 2 Mar 1996, Kim Lassila wrote:

> It's totally awesome! And it works!
> Thank you Andrew Veliath!
> But, there are some new features that must be added in order to make it
> even better:
>
> 1) You should be able to specify different pixmaps for buttons of active
> and inactive windows like this:
> ButtonStyle 2 Pixmap activeUp.xpm activeDown.xpm inactiveUp.xpm
> inactiveDown.xpm
>
> 2) You should be able to specify pixmaps for titlebar backgrounds. This
> one may be a bit tougher to implement, but it would be worth it!
> The expression could be something like this:
> TitleStyle Pixmap activeTitlebg.xpm inactiveTitlebg.xpm
>
> 3) The height of the titlebar should optionally be able to be specified
> in fvwm2rc. This would help fitting the pixmaps without changing the
> title font.
>

Something that I want done, is the use of different pixmaps for different
widows (rather like OS/2) so that Xterm can have a teeny-tiny little
xterm icon. The way I propose to do this is write a scaling function that
takes the defined icon for this window and puts it into the corner. I
would be happy to write such a scaling function, but I don't have the
time to merge it with FVWM once I have written it. So if there are any
people who are interested in this I can provide a function that scales a
nxm set of data to a ixj, while the other intersted party can put it in
the FVWM sources. The trouble for me is that I don't have the time to
learn the FVWM sources.

The way that I propse to implement this is make it a compile time option
to make button #n's default action is to display the correct scaled icon.
Naturaly this could be changed at run-time in the usual way. I suggect
this so we don't have to add any more elements to any FVWM structs.

Any takers?

Ian

*************************************************************************
*Ian Spielman *
*ispielman_at_uoknor.edu *
*http://129.15.140.27 *
*************************************************************************

--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Sat Mar 02 1996 - 08:00:09 GMT

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