Re:FVWM: HoverIcon for FvwmButtons (Was: animated FvwmButtons)

From: <liushidai_at_mails.tsinghua.edu.cn>
Date: Tue, 06 Jul 2004 14:41:00 +0800

Hi SCoTT,

In your mail:
>From: Scott Smedley <scottie7_at_tpg.com.au>
>Reply-To:
>To: fvwm_at_fvwm.org
>Subject: FVWM: HoverIcon for FvwmButtons (Was: animated FvwmButtons)
>
>> Can we have the animated FvwmButtons?
> > For example, the texte on the buttons change the color when mouse pass (like a
link in a web page)?
>
> I had a go at implementing a "HoverIcon" option for the FvwmButtons module.
> This allows an alternative image to be displayed when the mouse cursor is
> over a button.
>
> See here:
>
> http://users.tpg.com.au/users/scottie7/tmp/hoverIcon.html
>
> As FvwmButtons is used in all kinds of different ways, I need a few people
> to test the patch & find bugs etc.
>
> Please report any feedback to fvwm-workers_at_fvwm.org.
>
> Thanks,
>
> SCoTT. :)
> --

Now I found a bug.
Say you have a normal FvwmButtons as following:
####
Style FvwmDockUt* StaysOnBottom, NeverFocus
DestroyModuleConfig FvwmDockUt: *
*FvwmDockUt: Geometry 128x28+56-25
*FvwmDockUt: Font none
*FvwmDockUt: BoxSize fixed
*FvwmDockUt: Frame 0
*FvwmDockUt: Padding 0 0
*FvwmDockUt: Colorset 12
*FvwmDockUt: Rows 1
*FvwmDockUt: Columns 12
*FvwmDockUt: (1x1, Title "1")
*FvwmDockUt: (2x1, Title "2", Icon Ut/configure.png, Action (Mouse 1) 'Menu
MenuFvwmConfig Rectangle +$left+$top 0 -100m')
*FvwmDockUt: (2x1, Title "3", Icon Ut/gphoto.png, Action (Mouse 1) Exec exec
gvidcap)
*FvwmDockUt: (2x1, Title "4", Icon Ut/aim.png, Action (Mouse 1) Exec exec
LumaQQ/lumaqq)
*FvwmDockUt: (2x1, Title "5", Icon Ut/Calculator.png, Action (Mouse 1) Exec exec
xcalc)
*FvwmDockUt: (2x1, Title "6", Icon Ut/office.png, Action (Mouse 1) Exec exec
texmaker)
*FvwmDockUt: (1x1, Title "7")
Module FvwmButtons FvwmDockUt
########################

When you init fvwm, FvwmButtons won't display the icons.
A Restart will turn on the icons.

The above setting works fine without the hovericon patch.
So I guess something is wrong with the hovericon patch.

Best,
Liu Shidai



--
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 Tue Jul 06 2004 - 08:44:50 BST

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