Re: FVWM: Pixmap image in title

From: Olivier Chapuis <olivier.chapuis_at_free.fr>
Date: Thu, 11 Sep 2003 00:49:25 +0200

On Wed, Sep 10, 2003 at 11:13:23PM +0400, ChiP wrote:
> Hi.
>
> Can I use image with size 18x16 as button images in Title without scalling it or
> resizing? So I need something like this:
>
> I have set of images with size :
>
> % identify closeAD.xpm
> closeAD.xpm XPM 18x16+0+0 DirectClass 16-bit 646.0 0.031u 0:01
> % identify minimizeAD.xpm
> minimizeAD.xpm XPM 18x16+0+0 DirectClass 16-bit 634.0 0.039u 0:01
> %
>
> And I want to use it in title as a buttons with height 16:
> ~ % grep 'TitleStyle.*Height' .fvwm2rc
> TitleStyle Height 16
> ~ %
>
> If I use :
> TitleStyle Height 16
> ButtonStyle Number State Pixmap "somepixmap_18x16.xpm"
>
> fvwm allocate for button 16x16 rectangle, but i need 18x16
>
> What can I do?
>

I am not sure to understand what you want exactly But a
titlebar button is always a square in fvwm. But what about

TitleStyle Height 18

you will see a 18x16 button, No?

Regards, Olivier
--
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 Sep 11 2003 - 05:13:56 BST

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