Re: [AD] Allegro window icon under X

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Ah yes, good point! I actually converted a Windows .ico file, and there 
the 
> transparent colour was set correctly. This will probably work with gifs 
as 
> well and maybe pngs that have a transparent colour set, but we need the 
> more general case anyway.

I have commited the set-icon code to mainline. I also changed the convert 
call to convert -transparent "magenta" "$file" "/tmp/allegico_xpm.xpm", 
which makes magic pink turn up transparent in the resulting xmp file.
I don't think there's an easy way to deal with palette index 0 short of 
writing the xfixicon.c utility though...

Evert





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/